Intrinsics. Parse Parent(String, String) Method
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
The path to get the parent path from.
If the root is specified the path returned will not be any higher than the root.
The parent path of the specified path.
path is null.
providerInstance does not support this operation.
If the pipeline is being stopped while executing the command.
If the provider threw an exception.