PathCollectionGetParentPathFromPath Method |
Returns the parent path of the given path.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic 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 String
- The path of a file or directory.
Return Value
StringA
String containing the parent path for
aPath, or a null reference if
aPath denotes a root directory.
RemarksThe given for directories may or may not include a trailing path delimiter char, it will not have any influence on the result.
See Also