Comment
Leave feedback
On this page
Gets or sets the ZIP archive comment created by a user.
public string Comment { get; set; }
The user’s comment.
The following code snippet shows how to remove the user comment from a ZIP archive.
using (Metadata metadata = new Metadata(Constants.InputZip))
{
var root = metadata.GetRootPackage<ZipRootPackage>();
root.ZipPackage.Comment = null;
metadata.Save(Constants.OutputZip);
}
- class ZipPackage
- namespace GroupDocs.Metadata.Formats.Archive
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.