Expression.MakeDynamic 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立代表動態運算的 DynamicExpression。
多載
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression) |
建立 DynamicExpression,代表指定之 CallSiteBinder 和四個引數所繫結的動態運算。 |
MakeDynamic(Type, CallSiteBinder, Expression, Expression) |
建立 DynamicExpression,代表指定之 CallSiteBinder 和兩個引數所繫結的動態運算。 |
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression) |
建立 DynamicExpression,代表指定之 CallSiteBinder 和三個引數所繫結的動態運算。 |
MakeDynamic(Type, CallSiteBinder, Expression) |
建立 DynamicExpression,代表指定之 CallSiteBinder 和一個引數所繫結的動態運算。 |
MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>) |
建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。 |
MakeDynamic(Type, CallSiteBinder, Expression[]) |
建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。 |
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression)
建立 DynamicExpression,代表指定之 CallSiteBinder 和四個引數所繫結的動態運算。
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Linq::Expressions::Expression ^ arg0, System::Linq::Expressions::Expression ^ arg1, System::Linq::Expressions::Expression ^ arg2, System::Linq::Expressions::Expression ^ arg3);
public static System.Linq.Expressions.DynamicExpression MakeDynamic (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1, System.Linq.Expressions.Expression arg2, System.Linq.Expressions.Expression arg3);
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arg0 As Expression, arg1 As Expression, arg2 As Expression, arg3 As Expression) As DynamicExpression
參數
- binder
- CallSiteBinder
動態作業的執行階段繫結器。
- arg0
- Expression
動態作業的第一個引數。
- arg1
- Expression
傳遞至動態作業的第二個引數。
- arg2
- Expression
傳遞至動態作業的第三個引數。
- arg3
- Expression
傳遞至動態運算的第四個引數。
傳回
DynamicExpression,其 NodeType 等於 Dynamic,且 DelegateType、Binder 和 Arguments 設定為指定的值。
適用於
MakeDynamic(Type, CallSiteBinder, Expression, Expression)
建立 DynamicExpression,代表指定之 CallSiteBinder 和兩個引數所繫結的動態運算。
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Linq::Expressions::Expression ^ arg0, System::Linq::Expressions::Expression ^ arg1);
public static System.Linq.Expressions.DynamicExpression MakeDynamic (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1);
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arg0 As Expression, arg1 As Expression) As DynamicExpression
參數
- binder
- CallSiteBinder
動態作業的執行階段繫結器。
- arg0
- Expression
動態作業的第一個引數。
- arg1
- Expression
傳遞至動態作業的第二個引數。
傳回
DynamicExpression,其 NodeType 等於 Dynamic,且 DelegateType、Binder 和 Arguments 設定為指定的值。
適用於
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression)
建立 DynamicExpression,代表指定之 CallSiteBinder 和三個引數所繫結的動態運算。
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Linq::Expressions::Expression ^ arg0, System::Linq::Expressions::Expression ^ arg1, System::Linq::Expressions::Expression ^ arg2);
public static System.Linq.Expressions.DynamicExpression MakeDynamic (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1, System.Linq.Expressions.Expression arg2);
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arg0 As Expression, arg1 As Expression, arg2 As Expression) As DynamicExpression
參數
- binder
- CallSiteBinder
動態作業的執行階段繫結器。
- arg0
- Expression
動態作業的第一個引數。
- arg1
- Expression
傳遞至動態作業的第二個引數。
- arg2
- Expression
傳遞至動態作業的第三個引數。
傳回
DynamicExpression,其 NodeType 等於 Dynamic,且 DelegateType、Binder 和 Arguments 設定為指定的值。
適用於
MakeDynamic(Type, CallSiteBinder, Expression)
建立 DynamicExpression,代表指定之 CallSiteBinder 和一個引數所繫結的動態運算。
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Linq::Expressions::Expression ^ arg0);
public static System.Linq.Expressions.DynamicExpression MakeDynamic (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0);
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arg0 As Expression) As DynamicExpression
參數
- binder
- CallSiteBinder
動態作業的執行階段繫結器。
- arg0
- Expression
動態運算的引數。
傳回
DynamicExpression,其 NodeType 等於 Dynamic,且 DelegateType、Binder 和 Arguments 設定為指定的值。
適用於
MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>)
建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Collections::Generic::IEnumerable<System::Linq::Expressions::Expression ^> ^ arguments);
public static System.Linq.Expressions.DynamicExpression MakeDynamic (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression>? arguments);
public static System.Linq.Expressions.DynamicExpression MakeDynamic (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * seq<System.Linq.Expressions.Expression> -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arguments As IEnumerable(Of Expression)) As DynamicExpression
參數
- binder
- CallSiteBinder
動態作業的執行階段繫結器。
- arguments
- IEnumerable<Expression>
動態作業的引數。
傳回
DynamicExpression,其 NodeType 等於 Dynamic,且 DelegateType、Binder 和 Arguments 設定為指定的值。
適用於
MakeDynamic(Type, CallSiteBinder, Expression[])
建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, ... cli::array <System::Linq::Expressions::Expression ^> ^ arguments);
public static System.Linq.Expressions.DynamicExpression MakeDynamic (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, params System.Linq.Expressions.Expression[]? arguments);
public static System.Linq.Expressions.DynamicExpression MakeDynamic (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, params System.Linq.Expressions.Expression[] arguments);
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression[] -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, ParamArray arguments As Expression()) As DynamicExpression
參數
- binder
- CallSiteBinder
動態作業的執行階段繫結器。
- arguments
- Expression[]
動態作業的引數。
傳回
DynamicExpression,其 NodeType 等於 Dynamic,且 DelegateType、Binder 和 Arguments 設定為指定的值。