Property IsRooted
IsRooted
Gets a value indicating whether this path is rooted. Relative paths can be rooted and absolute paths are always rooted.
Declaration
bool IsRooted { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
On Windows, a rooted relative path starts with the path separator (e.g. "\Some\Path"
). Rooted relative paths are not supported on
Unix (paths that start with the path separator are absolute paths).