Sign in Join
FPDoc Onlineexperiment

TStringList.Duplicates property

Member of TStringListpublicIn unit Classes

Describes the behaviour of a sorted list with respect to duplicate strings.

Declaration

pascal
property Duplicates: TDuplicates read FDuplicates write FDuplicates;

Description

Duplicates describes what to do in case a duplicate value is added to the list:

dupIgnore
dupError
dupAccept

The default value is dupAccept.

If the stringlist is not sorted, the Duplicates setting is ignored.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.