Read an array of matching objects from the space.
Matching is done as in read with no timeout.

C# | Visual Basic | Visual C++ | J# |
T[] ReadMultiple<T>( T template, int maxItems )
Function ReadMultiple(Of T) ( _ template As T, _ maxItems As Integer _ ) As T()
generic<typename T> array<T>^ ReadMultiple( T template, int maxItems )

- T
- Type of object to read.

- template (T)
- The template used for matching.
- maxItems (Int32)
- Maximum number of objects to return.

An array of objects read from the space (empty array if no match was found).

Exception | Condition |
---|---|
ReadMultipleException | The operation had a failure. |