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)
ParameterTypeDescription
pathconst String&A path from which a root directory is to be obtained

ReturnValue

The name of the root directory in path

See Also