Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > Structures > Classes > TGStringList > Properties

TGStringList.Duplicates Property

Scroll Prev Top Next More

Specifies whether duplicate strings can be added to sorted lists. Set Duplicates to specify what should happen when an attempt is made to add a duplicate string to a sorted list.

Set Duplicates before adding any strings to the list. Setting Duplicates to dupIgnore or dupError does nothing about duplicate strings that are already in the list.

The value of Duplicates should be one of the following:

dupIgnore

Ignore attempts to add duplicate strings to the sorted list.

dupError

Raise an EStringListError exception when an attempt is made to add duplicate strings to the sorted list.
 

dupAccept

Permit duplicate strings in the sorted list.
 

Namespace: Structures

Property Value

Type: TDuplicates

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb