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