ShellBrowser .Net Edition
GetParentPathFromPath Method (aPath)
NamespacesJam.ShellPathCollectionGetParentPathFromPath(String)
Returns the parent path of the given path.
Declaration Syntax
C#Visual BasicVisual C++
public static string GetParentPathFromPath(
	string aPath
)
Public Shared Function GetParentPathFromPath ( _
	aPath As String _
) As String
public:
static String^ GetParentPathFromPath(
	String^ aPath
)
Parameters
aPath (String)
The path of a file or directory.
Return Value
A 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.

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)