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,则在释放存档时将被截断。

适用于