TStringList.Duplicates

From Soldat Community Wiki
Revision as of 19:37, 24 August 2013 by Mighty (talk | contribs) (new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
property Duplicates: TDuplicates
 Access mode: RW

Description

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

  • dupIgnore: Duplicate values will not be be added to the list, but no exception will be triggered.
  • dupError: If an attempt is made to add a duplicate value to the list, an exception occurs.
  • dupAccept: Duplicate values can be added to the list.


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