Data.Bind.ObjectScope.TBindSourceAdapterReadField.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Unit: Data.Bind.ObjectScope
Parent: TBindSourceAdapterReadField

Delphi

constructor Create(AOwner: TBindSourceAdapter; const AMemberName: string; AType: TBindSourceAdapterFieldType;
const AGetMemberObject: IGetMemberObject; const AReader: TValueReader<T>; AMemberType: TScopeMemberType); reintroduce;

C++

__fastcall TBindSourceAdapterReadField__1(TBindSourceAdapter* AOwner, const System::UnicodeString AMemberName, const TBindSourceAdapterFieldType &AType, const _di_IGetMemberObject AGetMemberObject, TValueReader__1<T>* const AReader, Data::Bind::Components::TScopeMemberType AMemberType);

Description


Constructs an object and initializes its data before the object is first used.

Data.Bind.ObjectScope.TBindSourceAdapterReadField.Create inherits from System.TObject.Create. All content below this line refers to System.TObject.Create.

Constructs an object and initializes its data before the object is first used.

Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data.

Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.

Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.

See Also