Xceed .NET Libraries Documentation
IsPathRooted Method (DiskFile)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > DiskFile Class : IsPathRooted Method
The path to verify.
Returns a boolean value indicating if the path passed is rooted.
Syntax
'Declaration
 
Protected Overrides Function IsPathRooted( _
   ByVal path As String _
) As Boolean
'Usage
 
Dim instance As DiskFile
Dim path As String
Dim value As Boolean
 
value = instance.IsPathRooted(path)
protected override bool IsPathRooted( 
   string path
)

Parameters

path
The path to verify.

Return Value

true if the path is rooted (for example "d:\folder\file.txt"); false otherwise (for example "file.txt").
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DiskFile Class
DiskFile Members
Base Implementation in IsPathRooted