다음을 통해 공유


WebContext.Path 속성

정의

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

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

속성 값

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

예제

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

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

적용 대상