NevronOpenVision
Nevron.Nov.IO Namespace / NPath Class / IsPathRooted Method
IsPathRooted Method
Checks whether the specified path string contains a root, for example "C:\Documents\MyFile.txt" contains a root - "C:\" and an Unix (Mac OS) path "/Users/John/Documents/MyFile.txt" contains a root "/".
Syntax
public System.bool IsPathRooted( 
   System.string path
)

Parameters

path
Exceptions
ExceptionDescription
path contains one or more of the invalid path characters.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also