System.Classes.TInterfaceList.Exchange
Delphi
procedure Exchange(Index1, Index2: Integer);
C++
void __fastcall Exchange(int Index1, int Index2);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TInterfaceList |
Description
Swaps the position of two interfaces in the list.
Call Exchange to move the interface at position Index1 so that it appears at position Index2 and move the interface at position Index2 so that it appears at position Index1. Index1 and Index2 identify two positions (zero offset) in the Items property array.