Skip to content

TStringList.SortStyle

Sort style for strings.

Declaration

Source position: classesh.inc line 1278

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
TStringsSortStyle Determines how the strings are sorted.
TStrings.Sorted