CallSiteBinder.Bind 方法

定義

在一組引數上執行動態作業的執行階段繫結。

public:
 abstract System::Linq::Expressions::Expression ^ Bind(cli::array <System::Object ^> ^ args, System::Collections::ObjectModel::ReadOnlyCollection<System::Linq::Expressions::ParameterExpression ^> ^ parameters, System::Linq::Expressions::LabelTarget ^ returnLabel);
public abstract System.Linq.Expressions.Expression Bind (object[] args, System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.ParameterExpression> parameters, System.Linq.Expressions.LabelTarget returnLabel);
abstract member Bind : obj[] * System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.ParameterExpression> * System.Linq.Expressions.LabelTarget -> System.Linq.Expressions.Expression
Public MustOverride Function Bind (args As Object(), parameters As ReadOnlyCollection(Of ParameterExpression), returnLabel As LabelTarget) As Expression

參數

args
Object[]

動態作業的引數陣列。

parameters
ReadOnlyCollection<ParameterExpression>

ParameterExpression 執行個體的陣列,表示繫結處理序中呼叫位置的參數。

returnLabel
LabelTarget

LabelTarget,用來傳回動態繫結的結果。

傳回

運算式,在動態作業引數上執行測試,而且如果測試有效,則會執行動態作業。 如果後續發生的動態作業測試失敗,則會重新呼叫繫結,為新引數型別產生新的 Expression

適用於