Data.Bind.ObjectScope.TBindSourceAdapter.GetMemberType

From RAD Studio API Documentation
Jump to: navigation, search

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);

Properties

Type Visibility Source Unit Parent
function protected
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Data.Bind.ObjectScope TBindSourceAdapter

Description

Returns True if the member name has the provided type.

The method GetMemberType checks whether the member name provided with the AMemberName parameter is of the same type as AType. It returns True if the member is of that type, it returns False otherwise.

Note: GetMemberType uses the TBindSourceAdapterField.GetMemberType method that must be overridden by descendant classes, because it currently always returns False.

See Also