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);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp |
Data.Bind.ObjectScope | TBindSourceAdapter |
Description
Renvoie True
si le nom du membre comporte le type fourni.
La méthode GetMemberType vérifie si le nom du membre fourni avec le paramètre AMemberName
est du même type que AType
. Elle renvoie True
si le membre est de ce type, elle renvoie False
sinon.
- Remarque : GetMemberType utilise la méthode TBindSourceAdapterField.GetMemberType qui doit être redéfinie par les classes descendantes, car elle renvoie actuellement toujours
False
.