ZipArchiveEntry.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,则释放存档时会截断该长度。

适用于