IList<T>.Move Method
Definition
Moves an element at the given index to another position.
Delphi
procedure Move(sourceIndex: Integer; targetIndex: Integer)
Parameters
- sourceIndex
- Integer
Index of the element to be moved.
- targetIndex
- Integer
Index where the element will be moved.
Remarks
The distance an element travels is always equal to the difference
between sourceIndex and targetIndex .