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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈