Read (according to the modifiers) an array of matching objects from the space.
Matching is done as in read with no timeout.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
T[] ReadMultiple<T>( T template, ITransaction tx, int maxItems, ReadModifiers modifiers )
Function ReadMultiple(Of T) ( _ template As T, _ tx As ITransaction, _ maxItems As Integer, _ modifiers As ReadModifiers _ ) As T()
generic<typename T> array<T>^ ReadMultiple( T template, ITransaction^ tx, int maxItems, ReadModifiers modifiers )
Generic Template Parameters
- T
- Type of object to read.
Parameters
- 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.
- modifiers (ReadModifiers)
- The modifier(s) to define behaviour of locks.
Return Value
An array of objects read from the space (empty array if no match was found).
Exceptions
Exception | Condition |
---|---|
ReadMultipleException | The operation had a failure. |