다음을 통해 공유


WebContext.ApplicationPath 속성

정의

현재 웹 애플리케이션의 애플리케이션 경로를 가져옵니다.

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

속성 값

현재 웹 애플리케이션의 애플리케이션 경로입니다.

예제

다음 예제에서는 속성을 사용 하는 방법을 보여 있습니다 ApplicationPath . 이 코드 예제는 클래스에 제공된 더 큰 예제의 WebContext 일부입니다.

// WebContext - Application Path.
Console.WriteLine("ApplicationPath: {0}", 
  webContext.ApplicationPath.ToString());
' WebContext - Application Path.
Console.WriteLine("ApplicationPath: {0}", _
  webContext.ApplicationPath.ToString())

적용 대상