IOHelperGetDirectoryName Method

Returns the directory name for the specified path string.

Definition

Namespace: Configuration.Helper
Assembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
C#
public static string GetDirectoryName(
	string path
)

Parameters

path  String
The path of a file or directory.

Return Value

String
Directory information for path, or if path denotes a root directory.
Returns an empty string if path does not contain directory information.

See Also