System.Bindings.Helper.TBindings.CreateUnmanagedBinding
Delphi
class function CreateUnmanagedBinding( const InputScopes: array of IScope; const BindExprStr: string; const OutputScopes: array of IScope; const OutputExpr: string; const OutputConverter: IValueRefConverter; BindingEventRec: TBindingEventRec; Options: TCreateOptions = [coNotifyOutput]): TBindingExpression; overload;
class function CreateUnmanagedBinding( const InputScopes: array of IScope; const BindExprStr: string; const OutputScopes: array of IScope; const OutputExpr: string; const OutputConverter: IValueRefConverter; Options: TCreateOptions = []): TBindingExpression; overload;
C++
__classmethod System::Bindings::Expression::TBindingExpression* __fastcall CreateUnmanagedBinding(const System::Bindings::Evalprotocol::_di_IScope *InputScopes, const int InputScopes_High, const System::UnicodeString BindExprStr, const System::Bindings::Evalprotocol::_di_IScope *OutputScopes, const int OutputScopes_High, const System::UnicodeString OutputExpr, const System::Bindings::Outputs::_di_IValueRefConverter OutputConverter, const TBindingEventRec &BindingEventRec, TCreateOptions Options = (TCreateOptions() << TCreateOption::coNotifyOutput ))/* overload */;
__classmethod System::Bindings::Expression::TBindingExpression* __fastcall CreateUnmanagedBinding(const System::Bindings::Evalprotocol::_di_IScope *InputScopes, const int InputScopes_High, const System::UnicodeString BindExprStr, const System::Bindings::Evalprotocol::_di_IScope *OutputScopes, const int OutputScopes_High, const System::UnicodeString OutputExpr, const System::Bindings::Outputs::_di_IValueRefConverter OutputConverter, TCreateOptions Options = TCreateOptions() )/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bindings.Helper.pas System.Bindings.Helper.hpp |
System.Bindings.Helper | TBindings |
説明
非管理バインディング式を作成するためのヘルパ関数。
CreateUnmanagedBinding は、非管理バインディング式を作成するためのヘルパ メソッドです。 CreateUnmanagedBinding にはオーバーロード メソッドが 2 つあります。
CreateUnmanagedBinding の第 1 オーバーロード メソッドは、次のパラメータで呼び出します。
パラメータ | 意味 |
InputScopes
|
バインディング式の文字列の検索に使用される入力スコープ の配列。 |
BindExprStr
|
バインディング エンジンによって評価される文字列式。 |
OutputScopes
|
出力の割り当て場所の検索に使用される出力スコープの配列。 |
OutputExpr
|
割り当て場所を決定するために、OutputScopes で評価される文字列式。
|
OutputConverter
|
バインディング式で使用する出力コンバータ。 デフォルト コンバータはすべて、OutputConverter が nil の場合に使用されます。
|
BindingEventRec
|
バインディング式イベントを保持するレコード。 |
Evaluate
|
バインディング式が内部的に評価されるかどうかを示します。 |
CreateUnmanagedBinding の第 2 オーバーロード メソッドは、次のパラメータで呼び出します。
パラメータ | 意味 |
InputScopes
|
バインディング式の文字列の検索に使用される入力スコープ の配列。 |
BindExprStr
|
バインディング エンジンによって評価される文字列式。 |
OutputScopes
|
出力の割り当て場所の検索に使用される出力スコープの配列。 |
OutputExpr
|
割り当て場所を決定するために、OutputScopes で評価される文字列式。
|
OutputConverter
|
バインディング式で使用する出力コンバータ。 デフォルト コンバータはすべて、OutputConverter が nil の場合に使用されます。
|
Evaluate
|
バインディング式が内部的に評価されるかどうかを示します。 |
非管理バインディング式 はスタンドアロンであり、マネージャに属していません。非管理バインディング式は、自動的に評価されず、また他の既存のバインディングを発生させません。 手動で評価される場合、評価計算済みの式の値は、設計された出力へ割り当てられます。 非バインディング式は自動的に破壊されないため、開発者が手動で破壊しなければなりません。