PathCollectionGetParentPathFromPath Method |
Returns the parent path of the given path.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public static string GetParentPathFromPath(
string aPath
)
Public Shared Function GetParentPathFromPath (
aPath As String
) As String
public:
static String^ GetParentPathFromPath(
String^ aPath
)
static member GetParentPathFromPath :
aPath : string -> string
Parameters
- aPath
- Type: SystemString
The path of a file or directory.
Return Value
Type:
StringA
String containing the parent path for
aPath, or a null reference if
aPath denotes a root directory.
Remarks The given for directories may or may not include a trailing path delimiter char, it will not have any influence on the result.
See Also