Exchange 2 items in the collection.
Source position: classesh.inc line 849
public procedure TCollection.Exchange( |
const Index1: Integer; |
const index2: Integer |
); |
Exchange exchanges the items at indexes Index1 and Index2 in the collection.
If one of the two indexes is invalid (less than zero or larger than the number of items) an EListError exception is raised.
|
Indexed array of items in the collection. |
|
|
Index of the item in its managing collection TCollection.Items property. |