System.Bindings.Expression.Associate
Delphi
function Associate(RealObject: TObject; const ScriptObject: String): TBindingAssociation;
C++
extern DELPHI_PACKAGE TBindingAssociation __fastcall Associate(System::TObject* RealObject, const System::UnicodeString ScriptObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bindings.Expression.pas System.Bindings.Expression.hpp |
System.Bindings.Expression | System.Bindings.Expression |
Description
Provides an easier way to create associations between Delphi objects and expression objects.
The Associate method provides an easier way to create associations between Delphi objects and expression objects. Associate is essentially a record TBindingAssociation constructor, but permits shorter syntax.
Call Associate with the following parameters:
Parameter | Meaning |
RealObject
|
Denotes the Delphi object implied in the association. |
ScriptObject
|
Denotes the expression object implied in the association. |
Associate returns the association generated from the given objects.