Take an array of matching objects from the space.
            Matching is done as in Take with no timeout. 
            
| C# | Visual Basic | Visual C++ | J# | 
T[] TakeMultiple<T>( T template, ITransaction tx, int maxItems )
Function TakeMultiple(Of T) ( _ template As T, _ tx As ITransaction, _ maxItems As Integer _ ) As T()
generic<typename T> array<T>^ TakeMultiple( T template, ITransaction^ tx, int maxItems )
- T
 - Type of object to read.
 
- template (T)
 - The template used for matching.
 
- tx (ITransaction)
 - The transaction (if any) under which to work.
 
- maxItems (Int32)
 - Maximum number of objects to return.
 
An array of objects taken from the space (empty array if no match was found).
| Exception | Condition | 
|---|---|
| TakeMultipleException | The operation had a failure. | 
