Difference between revisions of "TStringList.Duplicates"

From Soldat Community Wiki
Jump to: navigation, search
(new page)
 
(No difference)

Latest revision as of 17:37, 24 August 2013

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.