| ObjectWithIdCollectionBaseTGetById Method |
Returns an object from the collection with the provided ID.
If the collection is sorted (by id) then binary search is used, else it linear.
Returns null if the ID is not found.
Namespace:
Omada.OE.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic virtual T GetById(
int id
)
Parameters
- id
- Type: SystemInt32
Return Value
Type:
T
See Also