Skip to main content
A newer version of this page is available. .

ZipItemAddingEventArgs.Action Property

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

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v18.2.dll

Declaration

public ZipItemAddingAction Action { get; set; }

Property Value

Type Description
ZipItemAddingAction

A ZipItemAddingAction enumeration value specifying which action to perform.

Available values:

Name Description
Continue

Add the current item to the archive and move to the next item. Default value.

Stop

Stops adding items to archive.

Cancel

Cancel adding a current item to the archive and skip to the next item.

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