IsPathRooted()

Path::IsPathRooted(const String&) method

Determines if the specified path contains a root.

static bool System::IO::Path::IsPathRooted(const String &path)

Arguments

ParameterTypeDescription
pathconst String&A path to check

Return Value

True if path contains a root, otherwise - false

See Also