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

TdxFastList.Add(Pointer) Method

Appends the specified pointer to the ordered pointer list.

#Declaration

Delphi
function Add(AItem: Pointer): Integer;

#Parameters

Name Type
AItem Pointer

#Returns

Type
Integer

#Remarks

Call this function and pass a pointer as the AItem parameter to add the pointer to the end of the list. The Add function:

  • Returns the appended pointer’s index within the list.

  • Increments the Count property value by one.

  • Expands the list’s capacity if the number of stored pointers has reached the maximum list size prior to the function call.

Note

Call the AddRange procedure instead if you need to add multiple pointers from a single source.

See Also