Xceed Real-Time Zip for .NET Documentation
DoSize Property


Xceed.Zip Assembly > Xceed.Zip Namespace > ZippedFile Class : DoSize Property
Gets the size of the file in bytes.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property DoSize As Long
'Usage
 
Dim instance As ZippedFile

Dim value As Long

 

value = instance.DoSize
protected override long DoSize {get;}

Property Value

A value representing the file size in bytes.
Remarks

Some types of files may not have the size information available. In this case, -1 is returned.

If the file does not physically exist, an exception is thrown.

Xceed.FileSystem.FileSystemItem.Refresh should be called before accessing this property, or the information returned could be outdated.
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 DoSize