Data.Bind.ObjectScope.TBindSourceAdapter.GetMemberType
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
を返します。
- メモ:GetMemberType は TBindSourceAdapterField.GetMemberType メソッドを使用します。これは現在、常に
False
を返すようになっていますので、下位クラスでオーバーライドされなければなりません。