ConfigurationLocation.Path Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應