語言

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 曾用來回傳動態綁定的結果。

傳回

一個對動態操作參數進行測試的表達式,若測試有效則執行動態操作。 若在後續動態操作中測試失敗,將再次呼叫 Bind 以產生 Expression 新的參數類型。

適用於