Share via


ZipArchiveEntry.CompressedLength Property

The compressed size of the entry. If the archive that the entry belongs to is in Create mode, attempts to get this property will always throw an exception. If the archive that the entry belongs to is in update mode, this property will only be valid if the entry has not been opened.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public ReadOnly Property CompressedLength As Long
public long CompressedLength { get; }
public:
property long long CompressedLength {
    long long get ();
}
member CompressedLength : int64
function get CompressedLength () : long

Property Value

Type: System.Int64
Returns Int64.

Exceptions

Exception Condition
InvalidOperationException

This property is not available because the entry has been written to or modified.

.NET Framework Security

See Also

Reference

ZipArchiveEntry Class

Microsoft.TeamFoundation.Framework.Server Namespace