Skip to main content

AllowFileOverwriteEventArgs(ZipItem, String) Constructor

Initializes a new instance of the AllowFileOverwriteEventArgs class with the zip item and the path to where it will be unzipped.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public AllowFileOverwriteEventArgs(
    ZipItem zipItem,
    string targetFilePath
)

Parameters

Name Type Description
zipItem ZipItem

A ZipItem descendant that is the zip item being unzipped.

targetFilePath String

A string that specifies the path to the file in which the zip item will be saved after unzipping.

Remarks

The instance of the AllowFileOverwriteEventArgs class is automatically created, initialized and passed to the ZipArchive.AllowFileOverwrite event handler.

See Also