Condividi tramite


ZipFile.GetEntry(String) Method

Definition

Returns the zip file entry for the specified name, or null if not found.

[Android.Runtime.Register("getEntry", "(Ljava/lang/String;)Ljava/util/zip/ZipEntry;", "GetGetEntry_Ljava_lang_String_Handler")]
public virtual Java.Util.Zip.ZipEntry? GetEntry (string? name);
[<Android.Runtime.Register("getEntry", "(Ljava/lang/String;)Ljava/util/zip/ZipEntry;", "GetGetEntry_Ljava_lang_String_Handler")>]
abstract member GetEntry : string -> Java.Util.Zip.ZipEntry
override this.GetEntry : string -> Java.Util.Zip.ZipEntry

Parameters

name
String

the name of the entry

Returns

the zip file entry, or null if not found

Attributes

Exceptions

if this zip file has been closed.

Remarks

Returns the zip file entry for the specified name, or null if not found.

Java documentation for java.util.zip.ZipFile.getEntry(java.lang.String).

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