次の方法で共有


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

適用対象