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

ErrorEventArgs.ItemName Property

Obtains the zip item name for which the error occurs.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v21.1.dll

Declaration

public string ItemName { get; }

Property Value

Type Description
String

A string that is the zip item name.

Remarks

The zip item name is the ZipItem.Name value. The ItemName allows you to identify the problematic zip item and decide whether it can be safely skipped.

If the ZipArchive object cannot process a directory containing files or it is unable to save the resulting archive, the ItemName property value is empty. In this situation, you should analyze the exception that triggered an error by calling the ErrorEventArgs.GetException method.

See Also