Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStringList.SortStyle

Sort style for strings.

Declaration

Source position: classesh.inc line 1162

public property TStringList.SortStyle : TStringsSortStyle
  read FSortStyle
  write SetSortStyle;

Description

SortStyle sets the sort style for the TStringList instance. Setting it to sslAuto will keep the list sorted automatically at all times.

Find (and hence IndexOf) will use a binary search if SortStyle differs from sslNone. if SortStyle is sslNone, then it will raise an exception.

See also

TStringsSortStyle

  

Determines how the strings are sorted.

TStrings.Sorted


Documentation generated on: Dec 21 2024