ZipEntry.Comment Property

Definition

Returns the comment string for the entry. -or- Sets the optional comment string for the entry.

public virtual string? Comment { [Android.Runtime.Register("getComment", "()Ljava/lang/String;", "GetGetCommentHandler")] get; [Android.Runtime.Register("setComment", "(Ljava/lang/String;)V", "GetSetComment_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getComment", "()Ljava/lang/String;", "GetGetCommentHandler")>]
[<set: Android.Runtime.Register("setComment", "(Ljava/lang/String;)V", "GetSetComment_Ljava_lang_String_Handler")>]
member this.Comment : string with get, set

Property Value

String

the comment string for the entry, or null if none

Attributes

Exceptions

if the comment is >= 64 Ki UTF-8 bytes.

if the comment is >= 64 Ki UTF-8 bytes.

if the comment is >= 64 Ki UTF-8 bytes.

if the comment is >= 64 Ki UTF-8 bytes.

if the comment is >= 64 Ki UTF-8 bytes.

if the comment is >= 64 Ki UTF-8 bytes.

Remarks

Property getter documentation:

Java documentation for java.util.zip.ZipEntry.getComment().

Property setter documentation:

Java documentation for java.util.zip.ZipEntry.setComment(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