System::IO::Directory::GetDirectoryRoot method
Directory::GetDirectoryRoot method
Returns the root directory of the specified path.
static String System::IO::Directory::GetDirectoryRoot(const String &path)
Parameter | Type | Description |
---|---|---|
path | const String& | A path from which a root directory is to be obtained |
ReturnValue
The name of the root directory in path
See Also
- Class String
- Class Directory
- Namespace System::IO
- Library Aspose.PUB for C++