System.Bindings.Expression.Associate

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 Object Pascal objects and expression objects.

The Associate method provides an easier way to create associations between Object Pascal 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 Object Pascal object implied in the association.
ScriptObject Denotes the expression object implied in the association.

Associate returns the association generated from the given objects.

See Also