Returns the volume information, root information, or both for the specified path.
A string containing the volume information, root information, or both for the specified path.
Exception Type | Condition |
---|---|
ArgumentException | path is a zero-length string, contains only white space, or contains one or more invalid characters. |
PathTooLongException | The specified path, file name, or both exceed the system-defined maximum length. |
DirectoryFunctions Class | NAnt.Core.Functions Namespace