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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour