Skip to content

TStringList.SortStyle

Sort style for strings

Declaration

Source position: classesh.inc line 872

public Property
  SortStyle : TStringsSortStyle;

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

Name Description
TStrings.Sorted
TStringsSortStyle Determines how the strings are sorted
TStringsSortStyle Determines how the strings are sorted