Gets the collection of archive items stored within the ZIP archive matching the specified set.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Function GetItems ( _
	set As FileSet, _
	types As ArchiveItemTypes _
) As ZipItemCollection
C#
public ZipItemCollection GetItems(
	FileSet set,
	ArchiveItemTypes types
)

Parameters

set
Type: Rebex.IO..::..FileSet
A FileSet defining the filter criteria.
types
Type: Rebex.IO.Compression..::..ArchiveItemTypes
Specifies which types should be included in the collection.

Return Value

The collection of archive items stored within the ZIP archive.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe specified set is null.
System..::..ArgumentOutOfRangeExceptionThe types specified an invalid value.
System..::..ObjectDisposedExceptionArchive was already disposed.
Rebex.IO.Compression..::..ZipExceptionCannot perform the requested operation, or the operation was canceled (see ProblemType for detailed information).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also