RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringArray.Exchange Method

Provides the interface for a method that swaps the values of two elements in the array.

Pascal
procedure Exchange(Index1: Integer; Index2: Integer); override;
C++
virtual __fastcall Exchange(int Index1, int Index2);

The Exchange method for TBaseArray does nothing other than provide an interface for a method that interchanges the values of two elements. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!