WebContext.Path プロパティ

定義

Web アプリケーションの現在の仮想パスを取得します。

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

プロパティ値

Web アプリケーションの現在の仮想パス。

次の例は、 Path プロパティの使用方法を示しています。 このコード例は、 WebContext クラスに提供されるより大きな例の一部です。

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

適用対象