Data.DB.TParam.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: TParam

Delphi

constructor Create(Collection: TCollection); overload; override;
constructor Create(AParams: TParams; AParamType: TParamType); reintroduce; overload;

C++

__fastcall virtual TParam(System::Classes::TCollection* Collection)/* overload */;
__fastcall TParam(TParams* AParams, TParamType AParamType)/* overload */;

Description

Creates an instance of TParam and inserts it in a parameter list.

Call Create to instantiate a TParam object. TParam objects are usually created by the dataset that uses them to represent its field parameters.

AParams is the TParams object to which the parameter belongs.

AParamType indicates how the parameter is to be used. It becomes the value of the ParamType property.

Collection is the TParams object to which the parameter belongs.

See Also