DoRootFolder Property
See Also 
Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > MemoryFolder Class : DoRootFolder Property


Gets a reference to the root folder of this item.

Syntax

Visual Basic (Declaration) 
Overrides Protected NotOverridable ReadOnly Property DoRootFolder As AbstractFolder
Visual Basic (Usage)Copy Code
Dim instance As MemoryFolder
Dim value As AbstractFolder
 
value = instance.DoRootFolder
C# 
protected override AbstractFolder DoRootFolder {get;}

Property Value

An AbstractFolder object that represents the folder at the root of the path of this item, or a null reference (Nothing in Visual Basic) if a root folder is not available.

Remarks

A root folder represents the starting point of a folder hierarchy. On a physical disk, it is usually represented by a drive letter ("C:\") or UNC root ("\\server\share\").

If a root folder is not available, the RootFolder property returns a null reference (Nothing in Visual Basic).

Requirements

Target Platforms: Windows 2000, Windows XP SP3 Family, Windows Server 2003-2008 Family, Windows Vista, Windows 7

See Also