Xceed Real-Time Zip for .NET Documentation
DoExists Property (ZippedFile)


Xceed.Zip Assembly > Xceed.Zip Namespace > ZippedFile Class : DoExists Property
Gets a boolean value indicating if the item physically exists.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property DoExists As Boolean
'Usage
 
Dim instance As ZippedFile
Dim value As Boolean
 
value = instance.DoExists
protected override bool DoExists {get;}

Property Value

true if the item physically exists; false otherwise.
Remarks

This property should be evaluated before calling a method that needs to access the underlying physical item (For example, Xceed.FileSystem.FileSystemItem.CopyTo(Xceed.FileSystem.AbstractFolder,System.Boolean)), otherwise these methods will throw an exception.

Xceed.FileSystem.FileSystemItem.Refresh does not need to be called before accessing this property. The property will always reflect the physical item's existence.
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

ZippedFile Class
ZippedFile Members
Base Implementation in DoExists