System.Bindings.EvalProtocol.TLocationWrapper.Create
Delphi
constructor Create(AType: PTypeInfo; const AGetter: TValueGetter; const ASetter: TValueSetter); overload;
constructor Create(AObject: TObject; const PropertyName: String); overload;
constructor Create(AObject: TObject; const PropertyName: String; const Args: TArray<TValue>); overload;
C++
__fastcall TLocationWrapper(System::Typinfo::PTypeInfo AType, const _di_TValueGetter AGetter, const _di_TValueSetter ASetter)/* overload */;
__fastcall TLocationWrapper(System::TObject* AObject, const System::UnicodeString PropertyName)/* overload */;
__fastcall TLocationWrapper(System::TObject* AObject, const System::UnicodeString PropertyName, const System::DynamicArray<System::Rtti::TValue> Args)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | System.Bindings.EvalProtocol.pas System.Bindings.EvalProtocol.hpp |
System.Bindings.EvalProtocol | TLocationWrapper |
Description
Crée une nouvelle instance de TLocationWrapper.
Le constructeur Create crée une nouvelle instance de la classe TLocationWrapper. Il existe deux constructeurs Create surchargés.
Le premier constructeur Create surchargé utilise une méthode d'accesseur en lecture et une méthode d'accesseur en écriture fournies par l'utilisateur afin de maintenir la valeur de l'emplacement en conséquence. Le second constructeur Create surchargé encapsule une propriété d'objet.