PathIntrinsics.ParseChildName(String) Method

Definition

Gets the child name of the specified path.

public:
 System::String ^ ParseChildName(System::String ^ path);
public:
 Platform::String ^ ParseChildName(Platform::String ^ path);
std::wstring ParseChildName(std::wstring const & path);
public string ParseChildName (string path);
member this.ParseChildName : string -> string
Public Function ParseChildName (path As String) As String

Parameters

path
String

The path to get the child name from.

Returns

The last element of the path.

Exceptions

If path is null.

If the path refers to a provider that could not be found.

If the path refers to a drive that could not be found.

If the provider that the path refers to does not support this operation.

If the provider threw an exception.

Applies to