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.Delete(Integer) Method

Deletes the specified stored pointer.

#Declaration

Delphi
procedure Delete(AIndex: Integer);

#Parameters

Name Type
AIndex Integer

#Remarks

Call this procedure and pass an index within the list as the AIndex parameter to delete the corresponding pointer. The Delete procedure decrements the Count property value by one and shifts any remaining pointers at the end of the original list by one position to the list’s beginning.

The “List index out of bounds” exception occurs if the AIndex parameter value is:

  • Equal to or greater than the Count property value.

  • Negative.

Note

Call the DeleteRange procedure instead if you need to delete multiple stored pointers.

See Also