Application.ExecutablePath 속성

정의

애플리케이션을 시작한 실행 파일의 경로(실행 파일 이름 포함)를 가져옵니다.

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

속성 값

String

애플리케이션을 시작한 실행 파일의 경로 및 파일 이름입니다.

이 경로는 Windows Forms 애플리케이션이 ClickOnce 사용하여 배포되는지 여부에 따라 달라집니다. ClickOnce 애플리케이션은 C:\Documents 및 설정\username 디렉터리의 사용자별 애플리케이션 캐시에 저장됩니다. 자세한 내용은 로컬 및 ClickOnce 애플리케이션의 원격 데이터 액세스합니다.

적용 대상