Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxReadOnlyList<T>.GetItem(Integer) Method

Returns the collection item by its zero-based index.

#Declaration

Delphi
function GetItem(Index: Integer): T;

#Parameters

Name Type
Index Integer

#Returns

Type
T

#Remarks

Call this function to obtain the stored item whose zero-based index within the list or collection is passed as the Index parameter. The maximum Index parameter value is the Count property value minus one.

The GetItem function is the Self property’s getter.

See Also