แก้ไข

แชร์ผ่าน


ZipArchive.Comment Property

Definition

Gets or sets the optional archive comment.

public:
 property System::String ^ Comment { System::String ^ get(); void set(System::String ^ value); };
public string Comment { get; set; }
member this.Comment : string with get, set
Public Property Comment As String

Property Value

Remarks

The comment encoding is determined by the entryNameEncoding parameter of the ZipArchive(Stream, ZipArchiveMode, Boolean, Encoding) constructor.

If the comment byte length is larger than MaxValue, it will be truncated when disposing the archive.

Applies to