| PathGetDirectoryName Method |
Returns the directory information for the specified path string.
Namespace: DigitalRune.StoragesAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax public static string GetDirectoryName(
string path
)
Public Shared Function GetDirectoryName (
path As String
) As String
public:
static String^ GetDirectoryName(
String^ path
)
static member GetDirectoryName :
path : string -> string
Parameters
- path
- Type: SystemString
The path of a file or directory.
Return Value
Type:
String
Directory information for path, or
if
path denotes
a root directory or is null. Returns
Empty if
path does not contain directory information.
See Also