Share via


ZipFile.Size Method

Definition

Returns the number of entries in the ZIP file.

[Android.Runtime.Register("size", "()I", "GetSizeHandler")]
public virtual int Size ();
[<Android.Runtime.Register("size", "()I", "GetSizeHandler")>]
abstract member Size : unit -> int
override this.Size : unit -> int

Returns

the number of entries in the ZIP file

Attributes

Exceptions

if this zip file has been closed.

Remarks

Returns the number of entries in the ZIP file.

Java documentation for java.util.zip.ZipFile.size().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to