System.Bindings.EvalProtocol.TLocationWrapper.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
System.Bindings.EvalProtocol.pas
System.Bindings.EvalProtocol.hpp
System.Bindings.EvalProtocol TLocationWrapper

Beschreibung

Erstellt eine neue TLocationWrapper-Instanz.

Der Konstruktor Create erstellt eine neue Instanz der Klasse TLocationWrapper. Es gibt zwei überladene Create-Konstruktoren.

Der erste überladene Konstruktor Create verwendet die vom Benutzer bereitgestellten Getter- und Setter-Methoden zum Beibehalten des gewünschten Speicherortes. Der zweite kapselt eine Objekteigenschaft.

Siehe auch