PathIntrinsics.ParseParent(String, String) Method
In dit artikel
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 parent path of the specified path.
public:
System::String ^ ParseParent(System::String ^ path, System::String ^ root);
public:
Platform::String ^ ParseParent(Platform::String ^ path, Platform::String ^ root);
std::wstring ParseParent(std::wstring const & path, std::wstring const & root);
public string ParseParent(string path, string root);
member this.ParseParent : string * string -> string
Public Function ParseParent (path As String, root As String) As String
- path
- String
The path to get the parent path from.
- root
- String
If the root is specified the path returned will not be any higher than the root.
The parent path of the specified path.
If path is null.
If the providerInstance does not support this operation.
If the pipeline is being stopped while executing the command.
If the provider threw an exception.