[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TStringList.Exchange

Implements the TStrings.Exchangefunction.

Declaration

Source position: classesh.inc line 569

public procedure TStringList.Exchange(

  Index1: Integer;

  Index2: Integer

); override;

Description

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

Remark: Exchangewill not check whether the list os sorted or not; if Exchangeis called on a sorted list and the strings are not identical, the sort order of the list will be destroyed.

See also

TStringList.Sorted

  

Determines whether the list is sorted or not.

TStrings.Exchange

  

Exchanges two strings in the list.