Click or drag to resize

ObjectWithIdCollectionBaseReadOnlyTGetById Method

Returns an object from the collection with the provided ID. If the collection is sorted by ID, binary search is used, else its linear. Returns null if the object is not found.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public T GetById(
	int id
)

Parameters

id
Type: SystemInt32

Return Value

Type: T
See Also