ConfigurationPath.GetParentPath(String) Method
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.
Extracts the path corresponding to the parent node for a given path.
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
Parameters
- path
- String
The path.
Returns
The original path minus the last individual segment found in it. Null if the original path corresponds to a top level node.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.