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

ZipItem.Name Property

Gets or sets the name of the zip item.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#Declaration

public string Name { get; set; }

#Property Value

Type Description
String

A string that is the name of the zip item.

#Remarks

The Name value is used to search for the zip item by using the ZipArchive.Item method or to remove the item by using the ZipArchive.RemoveItem method. When a zip item is extracted to a file by using the ZipItem.Extract or the ZipArchive.Extract method, the Name value is used to construct a file name.

When a ZipArchive.AddFile or the ZipArchive.AddDirectory methods are used to add a zip item to the archive, the Name is set to the file (directory) path without the root component. In this situation, the ZipFileItem.FileName property contains the full file path, including the root component.

See Also