Click or drag to resize

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
)

Parameters

aPath
Type: SystemString
The path of a file or directory.

Return Value

Type: String
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.
See Also