System.Bindings.CustomWrapper.TCustomWrapper.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(Parent: TObject; MetaClass: TClass; const MemberName: String;  WrapperType: TCustomWrapperType; const GetterCallback: TCustomWrapperGetterCallback);

C++

__fastcall TCustomWrapper(System::TObject* Parent, System::TClass MetaClass, const System::UnicodeString MemberName, System::Bindings::Evalprotocol::TCustomWrapperType WrapperType, const System::Bindings::Evalprotocol::_di_TCustomWrapperGetterCallback GetterCallback);

プロパティ

種類 可視性 ソース ユニット
constructor public
System.Bindings.CustomWrapper.pas
System.Bindings.CustomWrapper.hpp
System.Bindings.CustomWrapper TCustomWrapper

説明

ラッパを作成します。

Create コンストラクタは、指定された WrapperType のラッパを作成するために使用されます。その際、ラップされるオブジェクト メンバーの実際の値を判別するのに、指定された取得コールバック メソッド(GetterCallback パラメータを介して指定)を使用します。MetaClass パラメータは、親オブジェクトが nil の場合のカスタム処理のために使用することができます。メタクラスは通常、親のクラス型か、その親が派生してきているクラス型を表します。

関連項目