System.Bindings.Helper.TBindings.CreateExpression
Delphi
class function CreateExpression( const InputScopes: array of IScope; const BindExprStr: string; BindingEventRec: TBindingEventRec): TBindingExpression; overload;
class function CreateExpression( const InputScopes: array of IScope; const BindExprStr: string): TBindingExpression; overload;
C++
__classmethod System::Bindings::Expression::TBindingExpression* __fastcall CreateExpression(const System::Bindings::Evalprotocol::_di_IScope *InputScopes, const int InputScopes_High, const System::UnicodeString BindExprStr, const TBindingEventRec &BindingEventRec)/* overload */;
__classmethod System::Bindings::Expression::TBindingExpression* __fastcall CreateExpression(const System::Bindings::Evalprotocol::_di_IScope *InputScopes, const int InputScopes_High, const System::UnicodeString BindExprStr)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bindings.Helper.pas System.Bindings.Helper.hpp |
System.Bindings.Helper | TBindings |
Description
Helper method to create an expression.
The CreateExpression method is a helper that creates expressions. There are two CreateExpression overloaded methods.
Call the first overloaded CreateExpression method with the parameters described below:
Parameter | Meaning |
InputScopes
|
Array of input scopes used for lookups of the binding expression string. |
BindExprStr
|
String expression to be evaluated by the binding engine. |
BindingEventRec
|
Record containing binding expression events. |
Call the second overloaded CreateExpression method with the parameters described below:
Parameter | Meaning |
InputScopes
|
Array of input scopes used for lookups of the binding expression string. |
BindExprStr
|
String expression to be evaluated by the binding engine. |
Tip: An expression is evaluated manually and the resulting value can be retrieved manually.