Swaps the position of two strings in the list.
procedure Exchange(Index1: Integer; Index2: Integer); override;
virtual __fastcall Exchange(int Index1, int Index2);
Call Exchange to rearrange the strings in the list. The strings are specified by their index values in the Index1 and Index2 parameters. Indexes are zero-based, so the first string in the list has an index value of 0, the second has an index value of 1, and so on.
If either string has an associated object, Exchange changes the index of the object as well.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!