Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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