다음을 통해 공유


WebApplicationInformation.ApplicationPath 속성

정의

애플리케이션의 실제 경로를 가져옵니다.

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

속성 값

String

애플리케이션의 실제 경로입니다.

예제

다음 코드 예제에는 애플리케이션 실제 경로 가져오는 방법을 보여 줍니다.

public string GetApplicationPath()
{
    // Get the name of the application  path.
    return (string.Format(
        "Application path: {0}",
        ApplicationInformation.ApplicationPath));
}
Public Function GetApplicationPath() As String
    ' Get the name of the application  path.
    Return String.Format( _
    "Application path: {0}", _
    ApplicationInformation.ApplicationPath())
End Function 'GetApplicationPath

설명

이 속성에 액세스할 수 있는 적절 한 권한이 필요 합니다. 사용 권한 섹션을 참조 하세요.

적용 대상