Share via


ConfigurationLocation.Path プロパティ

定義

この ConfigurationLocation オブジェクトで構成設定が表されているリソースへの相対パスを取得します。

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

プロパティ値

この ConfigurationLocation で構成設定が表されているリソースへの相対パス。

次のコード例は、 プロパティにアクセスし、 Path コンソールに返される値を表示する方法を示しています。

Console.WriteLine("Location Path: {0}", myLocation.Path);
Console.WriteLine("Location Path: {0}", myLocation.Path)

注釈

プロパティによって Path 返されるパスは、Web サイトのルートに対する相対パスです。

注意

プロパティには Path 、構成設定が適用されるパスのコンマ区切りの一覧が含まれている場合があります。

適用対象