Udostępnij za pośrednictwem


ZipFile.Close Method

Definition

Closes the ZIP file.

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public virtual void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Exceptions

if an IOException occurs.

Remarks

Closes the ZIP file.

Closing this ZIP file will close all of the input streams previously returned by invocations of the #getInputStream getInputStream method.

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

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