Summary
Returns the directory information for the specified path string.
Syntax
[Function("get-directory-name")]
public static string GetDirectoryName(string path)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
path |
string |
The path of a file or directory. |
Return Value
Type |
Description |
string |
A string containing directory information for
path, or an empty string if
path denotes a root directory, or does not
contain directory information.
|