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


Gets a reference to the parent folder of this item.

Syntax

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

Property Value

An AbstractFolder object that represents the folder that contains the item, or a null reference (Nothing in Visual Basic) if the item does not have a parent.

Remarks

If the current item is the root of a folder hierarchy, it has no parent folder. In this case, the ParentFolder 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