PathGetDirectoryName Method (String) |
Returns the directory information for the specified path string.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
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:
StringDirectory information for path, or if path denotes a root directory or is
.
Returns Empty if path does not contain directory information.
Exceptions See Also