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

ZipArchiveOptionsBehavior.AllowFileOverwrite Property

Gets or sets the default behavior in case of a file conflict when extracting files from an archive.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v21.1.dll


public AllowFileOverwriteMode AllowFileOverwrite { get; set; }

Property Value

Type Description

An AllowFileOverwriteMode enumeration value that specifies the default behavior.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowFileOverwrite


You can decide whether the file with the same name should be overwritten for each file individually by setting the AllowFileOverwrite to AllowFileOverwriteMode.Custom and handling the ZipArchive.AllowFileOverwrite event.

See Also