System.Types.TDuplicates

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDuplicates = (dupIgnore, dupAccept, dupError);

C++

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

Properties

Type Visibility Source Unit Parent
enum public
System.Types.pas
System.Types.hpp
System.Types System.Types

Description

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