Take (remove) 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# |
ITakeByIdsResult<Object> TakeByIds( Type type, Object[] ids )
Function TakeByIds ( _ type As Type, _ ids As Object() _ ) As ITakeByIdsResult(Of Object)
ITakeByIdsResult<Object^>^ TakeByIds( Type^ type, array<Object^>^ ids )
ITakeByIdsResult<Object> TakeByIds( Type type, Object[] ids )
![](../icons/collapse_all.gif)
An ITakeByIdsResult<(Of <(T>)>) containing the matched results.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
TakeByIdsException | The operation had a failure. |