.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.v21.1.dll

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