API:Data.DB.TFieldDef.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TFieldDef

Delphi

constructor Create(Owner: TFieldDefs; const Name: string;
DataType: TFieldType; Size: Integer; Required: Boolean; FieldNo: Integer); reintroduce; overload; virtual;

C++

__fastcall virtual TFieldDef(TFieldDefs* Owner, const System::UnicodeString Name, TFieldType DataType, int Size, bool Required, int FieldNo)/* overload */;

Description

Creates and initializes a TCollectionItem instance.

Data.DB.TFieldDef.Create inherits from System.Classes.TCollectionItem.Create. All content below this line refers to System.Classes.TCollectionItem.Create.

Creates and initializes a TCollectionItem instance.

Do not call Create to instantiate a collection item. Instead, call the Add method of the collection to which the item should belong.

Collection identifies the TCollection instance to which the new item belongs.

See Also