ConfigurationPath.GetParentPath(String) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Extrait le chemin correspondant au nœud parent pour un chemin donné.
public:
static System::String ^ GetParentPath(System::String ^ path);
public static string? GetParentPath(string? path);
static member GetParentPath : string -> string
Public Shared Function GetParentPath (path As String) As String
- path
- String
Chemin d’accès.
Chemin d’origine moins le dernier segment individuel qui y a été trouvé. Null si le chemin d’origine correspond à un nœud de niveau supérieur.
Produit | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :