Show: Delphi C++
Display Preferences

System.Classes.TDuplicates

From XE2 API Documentation
Jump to: navigation, search

Delphi

type TDuplicates = (dupIgnore, dupAccept, dupError)

C++

enum TDuplicates : unsigned char { dupIgnore, dupAccept, dupError };

Properties

Type Visibility Source Unit Parent
enum public
System.Classes.pas
System.Classes.hpp
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.



See Also

Personal tools
Previous Versions
Translations