Move an item in the collection.
Source position: classesh.inc line 850
public procedure TCollection.Move( |
const Index1: Integer; |
const index2: Integer |
); |
Move will move the collection item from position index1 to Index2. In difference with Exchange the indexes of the elements between index1 to Index2 will shift.
If an invalid index is specified in index1 or Index2, an exception will be raised.
|
Exchange 2 items in the collection. |