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.Remove(Pointer) Method

Removes the specified pointer from the ordered pointer list.

#Declaration

Delphi
function Remove(AItem: Pointer): Integer;

#Parameters

Name Type
AItem Pointer

#Returns

Type
Integer

#Remarks

Call this function and pass a pointer as the AItem parameter to remove the matching stored pointer from the list. The Remove function returns -1 if the list contains no such pointer; otherwise, deletes the pointer and returns its index within the list.

Note

The Remove function calls the IndexOf function internally to search the specified pointer. Call the Delete procedure instead if you need to delete a stored pointer by its known position (that is, the index) within the list.

See Also