Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip Namespace / ZippedFile Class / DoParentFolder Property


In This Topic
    DoParentFolder Property (ZippedFile)
    In This Topic
    Gets a reference to the parent folder of this item.
    Syntax
    'Declaration
     
    Protected Overrides ReadOnly Property DoParentFolder As AbstractFolder
    'Usage
     
    Dim instance As ZippedFile
    Dim value As AbstractFolder
     
    value = instance.DoParentFolder
    protected override AbstractFolder DoParentFolder {get;}

    Property Value

    An Xceed.FileSystem.AbstractFolder object that represents the folder that contains the item. If the item is the root folder itself, a ZipArchive object will be returned.
    Remarks

    A ZippedFile will normally have at least root as its parent. If no parent is found, and exception will be thrown.

    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