Data.Bind.ObjectScope.TBindSourceAdapterReadObjectField.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

/* {Data_Bind_ObjectScope}TBindSourceAdapterReadField<Data_Bind_ObjectScope_TBindSourceAdapterReadObjectField<T>_T>.Create */ inline __fastcall TBindSourceAdapterReadObjectField__1(TBindSourceAdapter* AOwner, const System::UnicodeString AMemberName, const TBindSourceAdapterFieldType &AType, const _di_IGetMemberObject AGetMemberObject, TValueReader__1<T>* const AReader, Data::Bind::Components::TScopeMemberType AMemberType) : TBindSourceAdapterReadField__1<T>(AOwner, AMemberName, AType, AGetMemberObject, AReader, AMemberType) { }
__fastcall TBindSourceAdapterReadObjectField(TBindSourceAdapter* AOwner, const System::UnicodeString AMemberName, const TBindSourceAdapterFieldType &AType, const _di_IGetMemberObject AGetMemberObject, TValueReader__1<System::TObject*>* const AReader, Data::Bind::Components::TScopeMemberType AMemberType);

Properties

Type Visibility Source Unit Parent
constructor public
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Data.Bind.ObjectScope TBindSourceAdapterReadObjectField

Description



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

Data.Bind.ObjectScope.TBindSourceAdapterReadObjectField.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