TdxFastList.Exchange(Integer,Integer) Method
In This Article
Exchanges positions of the two specified pointers within the ordered pointer list.
#Declaration
#Parameters
Name | Type |
---|---|
AIndex1 | Integer |
AIndex2 | Integer |
#Remarks
Call this procedure and pass two indexes as the AIndex1 and AIndex2 parameters to swap positions of the two corresponding pointers within the ordered pointer list. The “List index out of bounds” exception occurs if either of the specified indexes is:
Equal to or greater than the Count property value.
Negative.
See Also