System::IO::Path::GetPathRoot method

Path::GetPathRoot method

Returns the root directory of the specified path.

static String System::IO::Path::GetPathRoot(const String &path)
ParameterTypeDescription
pathconst String&The path from which to obtain the root

ReturnValue

The root directory of path

See Also