PathUtil.IsRoot(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the given path represents a root directory.
public:
static bool IsRoot(System::String ^ path);
public:
static bool IsRoot(Platform::String ^ path);
static bool IsRoot(std::wstring const & path);
public static bool IsRoot (string path);
static member IsRoot : string -> bool
Public Function IsRoot (path As String) As Boolean
Parameters
- path
- String
First path to compare
Returns
True if path
is a root, false if it is not.