Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ZipItemAddingEventArgs.Action Property

Gets or sets the action required to perform after the ItemAdding event is handled.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v20.2.dll

Declaration

public ZipItemAddingAction Action { get; set; }

Property Value

Type Description
ZipItemAddingAction

A ZipItemAddingAction enumeration value specifying which action to perform.

Remarks

You can handle the ZipArchive.ItemAdding event and decide whether to skip the current item and not add it to the archive, or to cancel the entire archiving process.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Action property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also