Data.Bind.ObjectScope.TBindSourceAdapter.GetMemberType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Unit: Data.Bind.ObjectScope
Parent: TBindSourceAdapter

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

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