Edita

Comparteix a través de


ConfigurationLocation.Path Property

Definition

Gets the relative path to the resource whose configuration settings are represented by this ConfigurationLocation object.

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

Property Value

The relative path to the resource whose configuration settings are represented by this ConfigurationLocation.

Examples

The following code example shows how to access the Path property and display the value returned to the console.

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

Remarks

The path that is returned by the Path property is relative to the root of your Web site.

Note

The Path property might contain a comma-delimited list of paths to which the configuration setting applies.

Applies to