ZipArchive.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

屬性值

備註

批註編碼是由 entryNameEncoding 建構函式的 ZipArchive(Stream, ZipArchiveMode, Boolean, Encoding) 參數所決定。

如果批註位元組長度大於 MaxValue ,則會在處置封存時截斷。

適用於