Environment.ProcessPath 속성

정의

현재 실행 중인 프로세스를 시작한 실행 파일의 경로를 반환합니다. 경로를 사용할 수 없는 경우를 반환 null 합니다.

public:
 static property System::String ^ ProcessPath { System::String ^ get(); };
public static string? ProcessPath { get; }
member this.ProcessPath : string
Public Shared ReadOnly Property ProcessPath As String

속성 값

String

현재 실행 중인 프로세스를 시작한 실행 파일의 경로입니다.

설명

이 속성에 처음 액세스하기 전에 실행 파일의 이름을 바꾸거나 삭제하면 반환 값이 정의되지 않으며 운영 체제에 따라 달라집니다.

적용 대상