TStringList.Exchange

Implements the TStrings.Exchange function.

Declaration

Source position: classesh.inc line 858

public 
  procedure Exchange(Index1: Integer; Index2: Integer);  Override;

Description

Exchange will exchange two items in the list as described in TStrings.Exchange .

Remark

Exchange will not check whether the list is sorted or not; if Exchange is called on a sorted list and the strings are not identical, the sort order of the list will be destroyed. !!!

See also

Name Description
TStringList.Sorted Determines whether the list is sorted or not.
TStrings.Exchange Exchanges two strings in the list.