Lezen in het Engels

Delen via


PathIntrinsics.ParseParent(String, String) Method

Definition

Gets the parent path of the specified path.

C++
public:
 System::String ^ ParseParent(System::String ^ path, System::String ^ root);

Parameters

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.

Returns

The parent path of the specified path.

Exceptions

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.

Applies to