Begins asynchronous GetItems operation.
Gets the collection of archive items stored within the ZIP archive matching the specified path or mask and type using the specified traversal mode.
Namespace:
Rebex.IO.Compression
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
Visual Basic |
---|
Public Sub GetItemsAsync ( _ archivePathOrMask As String, _ mode As TraversalMode, _ types As ArchiveItemTypes _ ) |
C# |
---|
public void GetItemsAsync( string archivePathOrMask, TraversalMode mode, ArchiveItemTypes types ) |
Parameters
- archivePathOrMask
- Type: System..::..String
Path (with or without a mask) to an archive item(s) or null (Nothing in Visual Basic).
- mode
- Type: Rebex.IO..::..TraversalMode
Traversal mode.
- types
- Type: Rebex.IO.Compression..::..ArchiveItemTypes
Specifies which types should be included in the collection.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The specified path is null. |
System..::..ArgumentException | The specified path is empty. -or- Illegal use of wildcards in path. -or- Ambiguous usage of path and mode. |
System..::..ArgumentOutOfRangeException | The mode or 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). |