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
Exception | Condition |
---|---|
System..::..ArgumentNullException | The specified set is null. |
System..::..ArgumentOutOfRangeException | The types specified an invalid value. |
System..::..ObjectDisposedException | Archive was already disposed. |
Rebex.IO.Compression..::..ZipException | Cannot perform the requested operation, or the operation was canceled (see ProblemType for detailed information). |