NavigationCmdletProvider.GetChildName
Method
Definition
Gets the name of the leaf element in the specified path.
protected virtual string GetChildName (string path);
Parameters
- path
- String
The fully qualified path to the item
Returns
The leaf element in the path.
Remarks
This should be implemented as a split on the path separator. The characters in the fullPath may not be legal characters in the namespace but may be used in globing or regular expression matching. The provider should not error unless there are no path separators in the fully qualified path.