PowerTCP Zip Compression for .NET
Comment Property (Archive)




Gets or sets the comment for the entire collection.
Syntax
<DefaultValueAttribute()>
<DescriptionAttribute("Set or Get archive comments.")>
<CategoryAttribute("Archive")>
Public Property Comment As String
Dim instance As Archive
Dim value As String
 
instance.Comment = value
 
value = instance.Comment
[DefaultValue()]
[Description("Set or Get archive comments.")]
[Category("Archive")]
public string Comment {get; set;}
[DefaultValue()]
[Description("Set or Get archive comments.")]
[Category("Archive")]
public: __property string* get_Comment();
public: __property void set_Comment( 
   string* value
);
[DefaultValue()]
[Description("Set or Get archive comments.")]
[Category("Archive")]
public:
property String^ Comment {
   String^ get();
   void set (    String^ value);
}

Property Value

A string representing the comment for the zip file.
Remarks

When an archive is loaded, this property returns any comments associated with the compressed archive. Setting this property sets the comment for the compressed output.

To get or set the comments for individual items within the archive, use the ArchiveItem.Comment property.

The character set encoding used for the Comment is based on the value of Archive.DefaultEncoding.

See Also

Reference

Archive Class
Archive Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic