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 */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Bindings.EvalProtocol.pas System.Bindings.EvalProtocol.hpp |
System.Bindings.EvalProtocol | TLocationWrapper |
Description
Creates a new TLocationWrapper instance.
The Create constructor creates a new instance of the TLocationWrapper class. There are two Create overloaded constructors.
The first Create overloaded constructor uses a getter and a setter that are provided by the user to maintain the value of the location as desired. The second Create overloaded constructor wraps around an object property.