Read objects from the space matching their IDs and the specified class.
Note, if the space is partitioned and the Class defines a specific property for its routing value (which means that the ID property is not used for routing), the operation will broadcast to all partitions.
FIFO is not supported by this operation - the results are always ordered in correlation with the input IDs array.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | J# |
IReadByIdsResult<T> ReadByIds<T>( Object[] ids )
Function ReadByIds(Of T) ( _ ids As Object() _ ) As IReadByIdsResult(Of T)
generic<typename T> IReadByIdsResult<T>^ ReadByIds( array<Object^>^ ids )
![](../icons/collapse_all.gif)
- T
- The class.
![](../icons/collapse_all.gif)
- ids (array<Object>[]()[][])
- The object IDs array.
![](../icons/collapse_all.gif)
An IReadByIdsResult<(Of <(<'T>)>)> containing the matched results.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ReadByIdsException | The operation had a failure. |