SelectEntries Method (zip)

DotNetZip

Ionic Zip Library v1.9.1.6 SelectEntries Method (zip)
ReferenceIonicFileSelectorSelectEntries(ZipFile)
Retrieve the ZipEntry items in the ZipFile that conform to the specified criteria.
Declaration Syntax
C# Visual Basic Visual C++
public ICollection<ZipEntry> SelectEntries(
	ZipFile zip
)
Public Function SelectEntries ( _
	zip As ZipFile _
) As ICollection(Of ZipEntry)
public:
ICollection<ZipEntry^>^ SelectEntries(
	ZipFile^ zip
)
Parameters
zip (ZipFile)
The ZipFile from which to retrieve entries.
Return Value
a collection of ZipEntry objects that conform to the criteria.
Remarks

This method applies the criteria set in the FileSelector instance (as described in the SelectionCriteria) to the specified ZipFile. Using this method, for example, you can retrieve all entries from the given ZipFile that have filenames ending in .txt.

Normally, applications would not call this method directly. This method is used by the ZipFile class.

Using the appropriate SelectionCriteria, you can retrieve entries based on size, time, and attributes. See SelectionCriteria for a description of the syntax of the SelectionCriteria string.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)