Data.Bind.ObjectScope.TBindSourceAdapter.GetMemberType

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

Delphi

function GetMemberType(const AMemberName: string;
var AType: TScopeMemberType): Boolean; virtual;

C++

virtual bool __fastcall GetMemberType(const System::UnicodeString AMemberName, Data::Bind::Components::TScopeMemberType &AType);

プロパティ

種類 可視性 ソース ユニット
function protected
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Data.Bind.ObjectScope TBindSourceAdapter


説明

メンバー名が提供されている型だった場合には、True を返します。

メソッド GetMemberType は、AMemberName パラメータで渡されたメンバー名が、AType と同じ型であるかどうかをチェックします。メンバーがその型であれば True を返し、そうでなければ False を返します。

メモ:GetMemberTypeTBindSourceAdapterField.GetMemberType メソッドを使用します。これは現在、常に False を返すようになっていますので、下位クラスでオーバーライドされなければなりません。

関連項目