System.Classes.TDuplicates
Delphi
TDuplicates = System.Types.TDuplicates;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.Classes.pas | System.Classes | System.Classes |
Description
TDuplicates indicates the response when an application attempts to add a duplicate entry to a list.
TDuplicates can have one of the following values:
Value | Meaning |
---|---|
dupIgnore |
Ignore attempts to add duplicate entries (do not add the duplicate). |
dupAccept |
Allow the list to contain duplicate entries (add the duplicate). |
dupError |
Raise an exception when the application tries to add a duplicate. |