Expression Expression Expression Expression Class

定義

提供基底類別,表示運算式樹狀架構節點的類別可由此基底類別衍生。Provides the base class from which the classes that represent expression tree nodes are derived. 它也包含 static (在 Visual Basic 中為 Shared) Factory 方法來建立各種節點類型。It also contains static (Shared in Visual Basic) factory methods to create the various node types. 這是 abstract 類別。This is an abstract class.

public ref class Expression abstract
public abstract class Expression
type Expression = class
Public MustInherit Class Expression
繼承
ExpressionExpressionExpressionExpression
衍生

範例

下列程式碼範例顯示如何建立區塊運算式。The following code example shows how to create a block expression. 區塊運算式是由兩個MethodCallExpression物件和一個ConstantExpression物件所組成。The block expression consists of two MethodCallExpression objects and one ConstantExpression object.

// Add the following directive to your file:
// using System.Linq.Expressions;  

// The block expression allows for executing several expressions sequentually.
// When the block expression is executed,
// it returns the value of the last expression in the sequence.
BlockExpression blockExpr = Expression.Block(
    Expression.Call(
        null,
        typeof(Console).GetMethod("Write", new Type[] { typeof(String) }),
        Expression.Constant("Hello ")
       ),
    Expression.Call(
        null,
        typeof(Console).GetMethod("WriteLine", new Type[] { typeof(String) }),
        Expression.Constant("World!")
        ),
    Expression.Constant(42)
);

Console.WriteLine("The result of executing the expression tree:");
// The following statement first creates an expression tree,
// then compiles it, and then executes it.           
var result = Expression.Lambda<Func<int>>(blockExpr).Compile()();

// Print out the expressions from the block expression.
Console.WriteLine("The expressions from the block expression:");
foreach (var expr in blockExpr.Expressions)
    Console.WriteLine(expr.ToString());

// Print out the result of the tree execution.
Console.WriteLine("The return value of the block expression:");
Console.WriteLine(result);

// This code example produces the following output:
//
// The result of executing the expression tree:
// Hello World!

// The expressions from the block expression:
// Write("Hello ")
// WriteLine("World!")
// 42

// The return value of the block expression:
// 42
' Add the following directive to your file:
' Imports System.Linq.Expressions

' The block expression enables you to execute several expressions sequentually.
' When the block expression is executed,
' it returns the value of the last expression in the sequence.
Dim blockExpr As BlockExpression = Expression.Block(
    Expression.Call(
        Nothing,
        GetType(Console).GetMethod("Write", New Type() {GetType(String)}),
        Expression.Constant("Hello ")
       ),
    Expression.Call(
        Nothing,
        GetType(Console).GetMethod("WriteLine", New Type() {GetType(String)}),
        Expression.Constant("World!")
        ),
    Expression.Constant(42)
)

Console.WriteLine("The result of executing the expression tree:")
' The following statement first creates an expression tree,
' then compiles it, and then executes it.           
Dim result = Expression.Lambda(Of Func(Of Integer))(blockExpr).Compile()()

' Print the expressions from the block expression.
Console.WriteLine("The expressions from the block expression:")
For Each expr In blockExpr.Expressions
    Console.WriteLine(expr.ToString())
Next

' Print the result of the tree execution.
Console.WriteLine("The return value of the block expression:")
Console.WriteLine(result)

' This code example produces the following output:
'
' The result of executing the expression tree:
' Hello World!

' The expressions from the block expression:
' Write("Hello ")
' WriteLine("World!")
' 42

' The return value of the block expression:
' 42

建構函式

Expression() Expression() Expression() Expression()

建構 Expression 的新執行個體。Constructs a new instance of Expression.

Expression(ExpressionType, Type) Expression(ExpressionType, Type) Expression(ExpressionType, Type) Expression(ExpressionType, Type)

初始化 Expression 類別的新執行個體。Initializes a new instance of the Expression class.

屬性

CanReduce CanReduce CanReduce CanReduce

表示節點可精簡為更簡單的節點。Indicates that the node can be reduced to a simpler node. 如果傳回 true,則可呼叫 Reduce() 以產生精簡的形式。If this returns true, Reduce() can be called to produce the reduced form.

NodeType NodeType NodeType NodeType

取得這個 Expression 的節點類型。Gets the node type of this Expression.

Type Type Type Type

取得此 Expression 代表之運算式的靜態類型。Gets the static type of the expression that this Expression represents.

方法

Accept(ExpressionVisitor) Accept(ExpressionVisitor) Accept(ExpressionVisitor) Accept(ExpressionVisitor)

分派給這個節點類型的特定造訪方法。Dispatches to the specific visit method for this node type. 例如,MethodCallExpression 會呼叫 VisitMethodCall(MethodCallExpression)For example, MethodCallExpression calls the VisitMethodCall(MethodCallExpression).

Add(Expression, Expression) Add(Expression, Expression) Add(Expression, Expression) Add(Expression, Expression)

建立 BinaryExpression,其代表不含溢位檢查的算術加法運算。Creates a BinaryExpression that represents an arithmetic addition operation that does not have overflow checking.

Add(Expression, Expression, MethodInfo) Add(Expression, Expression, MethodInfo) Add(Expression, Expression, MethodInfo) Add(Expression, Expression, MethodInfo)

建立 BinaryExpression,其代表不含溢位檢查的算術加法運算。Creates a BinaryExpression that represents an arithmetic addition operation that does not have overflow checking. 實作的方法可加以指定。The implementing method can be specified.

AddAssign(Expression, Expression) AddAssign(Expression, Expression) AddAssign(Expression, Expression) AddAssign(Expression, Expression)

建立 BinaryExpression,表示不含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.

AddAssign(Expression, Expression, MethodInfo) AddAssign(Expression, Expression, MethodInfo) AddAssign(Expression, Expression, MethodInfo) AddAssign(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示不含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.

AddAssign(Expression, Expression, MethodInfo, LambdaExpression) AddAssign(Expression, Expression, MethodInfo, LambdaExpression) AddAssign(Expression, Expression, MethodInfo, LambdaExpression) AddAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示不含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.

AddAssignChecked(Expression, Expression) AddAssignChecked(Expression, Expression) AddAssignChecked(Expression, Expression) AddAssignChecked(Expression, Expression)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

AddAssignChecked(Expression, Expression, MethodInfo) AddAssignChecked(Expression, Expression, MethodInfo) AddAssignChecked(Expression, Expression, MethodInfo) AddAssignChecked(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

AddChecked(Expression, Expression) AddChecked(Expression, Expression) AddChecked(Expression, Expression) AddChecked(Expression, Expression)

建立 BinaryExpression,其代表包含溢位檢查的算術加法運算。Creates a BinaryExpression that represents an arithmetic addition operation that has overflow checking.

AddChecked(Expression, Expression, MethodInfo) AddChecked(Expression, Expression, MethodInfo) AddChecked(Expression, Expression, MethodInfo) AddChecked(Expression, Expression, MethodInfo)

建立 BinaryExpression,其代表包含溢位檢查的算術加法運算。Creates a BinaryExpression that represents an arithmetic addition operation that has overflow checking. 實作的方法可加以指定。The implementing method can be specified.

And(Expression, Expression) And(Expression, Expression) And(Expression, Expression) And(Expression, Expression)

建立表示位元 BinaryExpression 運算的 ANDCreates a BinaryExpression that represents a bitwise AND operation.

And(Expression, Expression, MethodInfo) And(Expression, Expression, MethodInfo) And(Expression, Expression, MethodInfo) And(Expression, Expression, MethodInfo)

建立表示位元 BinaryExpression 運算的 ANDCreates a BinaryExpression that represents a bitwise AND operation. 實作的方法可加以指定。The implementing method can be specified.

AndAlso(Expression, Expression) AndAlso(Expression, Expression) AndAlso(Expression, Expression) AndAlso(Expression, Expression)

建立 BinaryExpression,表示只在第一個運算元計算結果為 AND 時才求第二個運算元之值的 true 條件運算。Creates a BinaryExpression that represents a conditional AND operation that evaluates the second operand only if the first operand evaluates to true.

AndAlso(Expression, Expression, MethodInfo) AndAlso(Expression, Expression, MethodInfo) AndAlso(Expression, Expression, MethodInfo) AndAlso(Expression, Expression, MethodInfo)

建立 BinaryExpression,代表只在第一個運算元解析為 true 時才評估第二個運算元的條件 AND 運算。Creates a BinaryExpression that represents a conditional AND operation that evaluates the second operand only if the first operand is resolved to true. 實作的方法可加以指定。The implementing method can be specified.

AndAssign(Expression, Expression) AndAssign(Expression, Expression) AndAssign(Expression, Expression) AndAssign(Expression, Expression)

建立表示位元 AND 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise AND assignment operation.

AndAssign(Expression, Expression, MethodInfo) AndAssign(Expression, Expression, MethodInfo) AndAssign(Expression, Expression, MethodInfo) AndAssign(Expression, Expression, MethodInfo)

建立表示位元 AND 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise AND assignment operation.

AndAssign(Expression, Expression, MethodInfo, LambdaExpression) AndAssign(Expression, Expression, MethodInfo, LambdaExpression) AndAssign(Expression, Expression, MethodInfo, LambdaExpression) AndAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立表示位元 AND 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise AND assignment operation.

ArrayAccess(Expression, Expression[]) ArrayAccess(Expression, Expression[]) ArrayAccess(Expression, Expression[]) ArrayAccess(Expression, Expression[])

建立 IndexExpression 以存取陣列。Creates an IndexExpression to access an array.

ArrayAccess(Expression, IEnumerable<Expression>) ArrayAccess(Expression, IEnumerable<Expression>) ArrayAccess(Expression, IEnumerable<Expression>) ArrayAccess(Expression, IEnumerable<Expression>)

建立 IndexExpression 以存取多維陣列。Creates an IndexExpression to access a multidimensional array.

ArrayIndex(Expression, Expression) ArrayIndex(Expression, Expression) ArrayIndex(Expression, Expression) ArrayIndex(Expression, Expression)

建立 BinaryExpression,代表將陣列索引運算子套用到陣序規範 1 的陣列。Creates a BinaryExpression that represents applying an array index operator to an array of rank one.

ArrayIndex(Expression, Expression[]) ArrayIndex(Expression, Expression[]) ArrayIndex(Expression, Expression[]) ArrayIndex(Expression, Expression[])

建立 MethodCallExpression,代表將陣列索引運算子套用到多維陣列。Creates a MethodCallExpression that represents applying an array index operator to a multidimensional array.

ArrayIndex(Expression, IEnumerable<Expression>) ArrayIndex(Expression, IEnumerable<Expression>) ArrayIndex(Expression, IEnumerable<Expression>) ArrayIndex(Expression, IEnumerable<Expression>)

建立 MethodCallExpression,代表將陣列索引運算子套用到陣序規範大於 1 的陣列。Creates a MethodCallExpression that represents applying an array index operator to an array of rank more than one.

ArrayLength(Expression) ArrayLength(Expression) ArrayLength(Expression) ArrayLength(Expression)

建立 UnaryExpression,代表用於取得一維陣列長度的運算式。Creates a UnaryExpression that represents an expression for obtaining the length of a one-dimensional array.

Assign(Expression, Expression) Assign(Expression, Expression) Assign(Expression, Expression) Assign(Expression, Expression)

建立代表指派運算的 BinaryExpressionCreates a BinaryExpression that represents an assignment operation.

Bind(MemberInfo, Expression) Bind(MemberInfo, Expression) Bind(MemberInfo, Expression) Bind(MemberInfo, Expression)

建立 MemberAssignment,代表初始化欄位或屬性。Creates a MemberAssignment that represents the initialization of a field or property.

Bind(MethodInfo, Expression) Bind(MethodInfo, Expression) Bind(MethodInfo, Expression) Bind(MethodInfo, Expression)

建立 MemberAssignment,代表使用屬性存取子方法初始化成員。Creates a MemberAssignment that represents the initialization of a member by using a property accessor method.

Block(Expression, Expression) Block(Expression, Expression) Block(Expression, Expression) Block(Expression, Expression)

建立包含兩個運算式但沒有任何變數的 BlockExpressionCreates a BlockExpression that contains two expressions and has no variables.

Block(Expression, Expression, Expression) Block(Expression, Expression, Expression) Block(Expression, Expression, Expression) Block(Expression, Expression, Expression)

建立包含三個運算式但沒有任何變數的 BlockExpressionCreates a BlockExpression that contains three expressions and has no variables.

Block(Expression, Expression, Expression, Expression) Block(Expression, Expression, Expression, Expression) Block(Expression, Expression, Expression, Expression) Block(Expression, Expression, Expression, Expression)

建立包含四個運算式但沒有任何變數的 BlockExpressionCreates a BlockExpression that contains four expressions and has no variables.

Block(Expression, Expression, Expression, Expression, Expression) Block(Expression, Expression, Expression, Expression, Expression) Block(Expression, Expression, Expression, Expression, Expression) Block(Expression, Expression, Expression, Expression, Expression)

建立包含五個運算式但沒有任何變數的 BlockExpressionCreates a BlockExpression that contains five expressions and has no variables.

Block(Expression[]) Block(Expression[]) Block(Expression[]) Block(Expression[])

建立包含指定的運算式但沒有任何變數的 BlockExpressionCreates a BlockExpression that contains the given expressions and has no variables.

Block(IEnumerable<Expression>) Block(IEnumerable<Expression>) Block(IEnumerable<Expression>) Block(IEnumerable<Expression>)

建立包含指定的運算式但沒有任何變數的 BlockExpressionCreates a BlockExpression that contains the given expressions and has no variables.

Block(IEnumerable<ParameterExpression>, Expression[]) Block(IEnumerable<ParameterExpression>, Expression[]) Block(IEnumerable<ParameterExpression>, Expression[]) Block(IEnumerable<ParameterExpression>, Expression[])

建立包含指定之變數和運算式的 BlockExpressionCreates a BlockExpression that contains the given variables and expressions.

Block(IEnumerable<ParameterExpression>, IEnumerable<Expression>) Block(IEnumerable<ParameterExpression>, IEnumerable<Expression>) Block(IEnumerable<ParameterExpression>, IEnumerable<Expression>) Block(IEnumerable<ParameterExpression>, IEnumerable<Expression>)

建立包含指定之變數和運算式的 BlockExpressionCreates a BlockExpression that contains the given variables and expressions.

Block(Type, Expression[]) Block(Type, Expression[]) Block(Type, Expression[]) Block(Type, Expression[])

建立包含指定的運算式、有指定之結果類型、但沒有任何變數的 BlockExpressionCreates a BlockExpression that contains the given expressions, has no variables and has specific result type.

Block(Type, IEnumerable<Expression>) Block(Type, IEnumerable<Expression>) Block(Type, IEnumerable<Expression>) Block(Type, IEnumerable<Expression>)

建立包含指定的運算式、有指定之結果類型、但沒有任何變數的 BlockExpressionCreates a BlockExpression that contains the given expressions, has no variables and has specific result type.

Block(Type, IEnumerable<ParameterExpression>, Expression[]) Block(Type, IEnumerable<ParameterExpression>, Expression[]) Block(Type, IEnumerable<ParameterExpression>, Expression[]) Block(Type, IEnumerable<ParameterExpression>, Expression[])

建立包含指定之變數和運算式的 BlockExpressionCreates a BlockExpression that contains the given variables and expressions.

Block(Type, IEnumerable<ParameterExpression>, IEnumerable<Expression>) Block(Type, IEnumerable<ParameterExpression>, IEnumerable<Expression>) Block(Type, IEnumerable<ParameterExpression>, IEnumerable<Expression>) Block(Type, IEnumerable<ParameterExpression>, IEnumerable<Expression>)

建立包含指定之變數和運算式的 BlockExpressionCreates a BlockExpression that contains the given variables and expressions.

Break(LabelTarget) Break(LabelTarget) Break(LabelTarget) Break(LabelTarget)

建立表示 break 陳述式的 GotoExpressionCreates a GotoExpression representing a break statement.

Break(LabelTarget, Expression) Break(LabelTarget, Expression) Break(LabelTarget, Expression) Break(LabelTarget, Expression)

建立表示 break 陳述式的 GotoExpressionCreates a GotoExpression representing a break statement. 可以指定跳躍時傳遞至標籤的值。The value passed to the label upon jumping can be specified.

Break(LabelTarget, Expression, Type) Break(LabelTarget, Expression, Type) Break(LabelTarget, Expression, Type) Break(LabelTarget, Expression, Type)

建立 GotoExpression,表示含指定之類型的 break 陳述式。Creates a GotoExpression representing a break statement with the specified type. 可以指定跳躍時傳遞至標籤的值。The value passed to the label upon jumping can be specified.

Break(LabelTarget, Type) Break(LabelTarget, Type) Break(LabelTarget, Type) Break(LabelTarget, Type)

建立 GotoExpression,表示含指定之類型的 break 陳述式。Creates a GotoExpression representing a break statement with the specified type.

Call(Expression, MethodInfo) Call(Expression, MethodInfo) Call(Expression, MethodInfo) Call(Expression, MethodInfo)

建立代表呼叫不採用任何引數之方法的 MethodCallExpressionCreates a MethodCallExpression that represents a call to a method that takes no arguments.

Call(Expression, MethodInfo, Expression, Expression) Call(Expression, MethodInfo, Expression, Expression) Call(Expression, MethodInfo, Expression, Expression) Call(Expression, MethodInfo, Expression, Expression)

建立 MethodCallExpression,代表呼叫採用兩個引數的方法。Creates a MethodCallExpression that represents a call to a method that takes two arguments.

Call(Expression, MethodInfo, Expression, Expression, Expression) Call(Expression, MethodInfo, Expression, Expression, Expression) Call(Expression, MethodInfo, Expression, Expression, Expression) Call(Expression, MethodInfo, Expression, Expression, Expression)

建立 MethodCallExpression,代表呼叫採用三個引數的方法。Creates a MethodCallExpression that represents a call to a method that takes three arguments.

Call(Expression, MethodInfo, Expression[]) Call(Expression, MethodInfo, Expression[]) Call(Expression, MethodInfo, Expression[]) Call(Expression, MethodInfo, Expression[])

建立代表呼叫至採用引數之方法的 MethodCallExpressionCreates a MethodCallExpression that represents a call to a method that takes arguments.

Call(Expression, MethodInfo, IEnumerable<Expression>) Call(Expression, MethodInfo, IEnumerable<Expression>) Call(Expression, MethodInfo, IEnumerable<Expression>) Call(Expression, MethodInfo, IEnumerable<Expression>)

建立代表呼叫至採用引數之方法的 MethodCallExpressionCreates a MethodCallExpression that represents a call to a method that takes arguments.

Call(Expression, String, Type[], Expression[]) Call(Expression, String, Type[], Expression[]) Call(Expression, String, Type[], Expression[]) Call(Expression, String, Type[], Expression[])

建立 MethodCallExpression,代表透過呼叫適當的 Factory 方法來呼叫方法。Creates a MethodCallExpression that represents a call to a method by calling the appropriate factory method.

Call(MethodInfo, Expression) Call(MethodInfo, Expression) Call(MethodInfo, Expression) Call(MethodInfo, Expression)

建立 MethodCallExpression,代表呼叫採用一個引數的 static (在 Visual Basic 中則為 Shared) 方法。Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method that takes one argument.

Call(MethodInfo, Expression, Expression) Call(MethodInfo, Expression, Expression) Call(MethodInfo, Expression, Expression) Call(MethodInfo, Expression, Expression)

建立 MethodCallExpression,代表呼叫採用兩個引數的靜態方法。Creates a MethodCallExpression that represents a call to a static method that takes two arguments.

Call(MethodInfo, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression)

建立 MethodCallExpression,代表呼叫採用三個引數的靜態方法。Creates a MethodCallExpression that represents a call to a static method that takes three arguments.

Call(MethodInfo, Expression, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression, Expression)

建立 MethodCallExpression,代表呼叫採用四個引數的靜態方法。Creates a MethodCallExpression that represents a call to a static method that takes four arguments.

Call(MethodInfo, Expression, Expression, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression, Expression, Expression) Call(MethodInfo, Expression, Expression, Expression, Expression, Expression)

建立 MethodCallExpression,代表呼叫採用五個引數的靜態方法。Creates a MethodCallExpression that represents a call to a static method that takes five arguments.

Call(MethodInfo, Expression[]) Call(MethodInfo, Expression[]) Call(MethodInfo, Expression[]) Call(MethodInfo, Expression[])

建立 MethodCallExpression,代表呼叫有引數的 static (在 Visual Basic 中則為 Shared) 方法。Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method that has arguments.

Call(MethodInfo, IEnumerable<Expression>) Call(MethodInfo, IEnumerable<Expression>) Call(MethodInfo, IEnumerable<Expression>) Call(MethodInfo, IEnumerable<Expression>)

建立 MethodCallExpression,代表呼叫靜態方法 (在 Visual Basic 中為共用方法)。Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method.

Call(Type, String, Type[], Expression[]) Call(Type, String, Type[], Expression[]) Call(Type, String, Type[], Expression[]) Call(Type, String, Type[], Expression[])

建立 MethodCallExpression,代表透過呼叫適當的 Factory 方法來呼叫 static (在 Visual Basic 中則為 Shared) 方法。Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method by calling the appropriate factory method.

Catch(ParameterExpression, Expression) Catch(ParameterExpression, Expression) Catch(ParameterExpression, Expression) Catch(ParameterExpression, Expression)

建立 CatchBlock,代表包含已攔截 Exception 物件參考的 catch 陳述式,以便用於處理常式主體。Creates a CatchBlock representing a catch statement with a reference to the caught Exception object for use in the handler body.

Catch(ParameterExpression, Expression, Expression) Catch(ParameterExpression, Expression, Expression) Catch(ParameterExpression, Expression, Expression) Catch(ParameterExpression, Expression, Expression)

建立 CatchBlock,代表包含 Exception 篩選條件和已攔截 Exception 物件參考的 catch 陳述式。Creates a CatchBlock representing a catch statement with an Exception filter and a reference to the caught Exception object.

Catch(Type, Expression) Catch(Type, Expression) Catch(Type, Expression) Catch(Type, Expression)

建立代表 catch 陳述式的 CatchBlockCreates a CatchBlock representing a catch statement.

Catch(Type, Expression, Expression) Catch(Type, Expression, Expression) Catch(Type, Expression, Expression) Catch(Type, Expression, Expression)

建立 CatchBlock,代表包含 Exception 篩選條件但沒有已攔截 Exception 物件參考的 catch 陳述式。Creates a CatchBlock representing a catch statement with an Exception filter but no reference to the caught Exception object.

ClearDebugInfo(SymbolDocumentInfo) ClearDebugInfo(SymbolDocumentInfo) ClearDebugInfo(SymbolDocumentInfo) ClearDebugInfo(SymbolDocumentInfo)

建立用於清除序列點的 DebugInfoExpressionCreates a DebugInfoExpression for clearing a sequence point.

Coalesce(Expression, Expression) Coalesce(Expression, Expression) Coalesce(Expression, Expression) Coalesce(Expression, Expression)

建立代表聯合運算的 BinaryExpressionCreates a BinaryExpression that represents a coalescing operation.

Coalesce(Expression, Expression, LambdaExpression) Coalesce(Expression, Expression, LambdaExpression) Coalesce(Expression, Expression, LambdaExpression) Coalesce(Expression, Expression, LambdaExpression)

指定轉換函式,建立代表聯合運算的 BinaryExpressionCreates a BinaryExpression that represents a coalescing operation, given a conversion function.

Condition(Expression, Expression, Expression) Condition(Expression, Expression, Expression) Condition(Expression, Expression, Expression) Condition(Expression, Expression, Expression)

建立表示條件陳述式的 ConditionalExpressionCreates a ConditionalExpression that represents a conditional statement.

Condition(Expression, Expression, Expression, Type) Condition(Expression, Expression, Expression, Type) Condition(Expression, Expression, Expression, Type) Condition(Expression, Expression, Expression, Type)

建立表示條件陳述式的 ConditionalExpressionCreates a ConditionalExpression that represents a conditional statement.

Constant(Object) Constant(Object) Constant(Object) Constant(Object)

建立 ConstantExpression,其 Value 屬性設定為指定的值。Creates a ConstantExpression that has the Value property set to the specified value.

Constant(Object, Type) Constant(Object, Type) Constant(Object, Type) Constant(Object, Type)

建立 ConstantExpression,其 ValueType 屬性設定為指定的值。Creates a ConstantExpression that has the Value and Type properties set to the specified values.

Continue(LabelTarget) Continue(LabelTarget) Continue(LabelTarget) Continue(LabelTarget)

建立代表 continue 陳述式的 GotoExpressionCreates a GotoExpression representing a continue statement.

Continue(LabelTarget, Type) Continue(LabelTarget, Type) Continue(LabelTarget, Type) Continue(LabelTarget, Type)

建立 GotoExpression,代表含指定之類型的 continue 陳述式。Creates a GotoExpression representing a continue statement with the specified type.

Convert(Expression, Type) Convert(Expression, Type) Convert(Expression, Type) Convert(Expression, Type)

建立代表類型轉換作業的 UnaryExpressionCreates a UnaryExpression that represents a type conversion operation.

Convert(Expression, Type, MethodInfo) Convert(Expression, Type, MethodInfo) Convert(Expression, Type, MethodInfo) Convert(Expression, Type, MethodInfo)

建立代表轉換作業的 UnaryExpression,此轉換作業已指定實作方法。Creates a UnaryExpression that represents a conversion operation for which the implementing method is specified.

ConvertChecked(Expression, Type) ConvertChecked(Expression, Type) ConvertChecked(Expression, Type) ConvertChecked(Expression, Type)

建立代表轉換作業的 UnaryExpression;若目標類型已溢位,此運算式便會擲回例外狀況。Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed.

ConvertChecked(Expression, Type, MethodInfo) ConvertChecked(Expression, Type, MethodInfo) ConvertChecked(Expression, Type, MethodInfo) ConvertChecked(Expression, Type, MethodInfo)

建立代表轉換作業的 UnaryExpression,如果目標類型已溢位,且已指定此作業的實作方法,則此作業會擲回例外狀況。Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed and for which the implementing method is specified.

DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32) DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32) DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32) DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32)

使用指定的時間範圍建立 DebugInfoExpressionCreates a DebugInfoExpression with the specified span.

Decrement(Expression) Decrement(Expression) Decrement(Expression) Decrement(Expression)

建立 UnaryExpression,代表運算式遞減 1。Creates a UnaryExpression that represents the decrementing of the expression by 1.

Decrement(Expression, MethodInfo) Decrement(Expression, MethodInfo) Decrement(Expression, MethodInfo) Decrement(Expression, MethodInfo)

建立 UnaryExpression,代表運算式遞減 1。Creates a UnaryExpression that represents the decrementing of the expression by 1.

Default(Type) Default(Type) Default(Type) Default(Type)

建立 DefaultExpression,其 Type 屬性設定為指定的類型。Creates a DefaultExpression that has the Type property set to the specified type.

Divide(Expression, Expression) Divide(Expression, Expression) Divide(Expression, Expression) Divide(Expression, Expression)

建立代表算術除法運算的 BinaryExpressionCreates a BinaryExpression that represents an arithmetic division operation.

Divide(Expression, Expression, MethodInfo) Divide(Expression, Expression, MethodInfo) Divide(Expression, Expression, MethodInfo) Divide(Expression, Expression, MethodInfo)

建立代表算術除法運算的 BinaryExpressionCreates a BinaryExpression that represents an arithmetic division operation. 實作的方法可加以指定。The implementing method can be specified.

DivideAssign(Expression, Expression) DivideAssign(Expression, Expression) DivideAssign(Expression, Expression) DivideAssign(Expression, Expression)

建立 BinaryExpression,代表不含溢位檢查的除法指派運算。Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.

DivideAssign(Expression, Expression, MethodInfo) DivideAssign(Expression, Expression, MethodInfo) DivideAssign(Expression, Expression, MethodInfo) DivideAssign(Expression, Expression, MethodInfo)

建立 BinaryExpression,代表不含溢位檢查的除法指派運算。Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.

DivideAssign(Expression, Expression, MethodInfo, LambdaExpression) DivideAssign(Expression, Expression, MethodInfo, LambdaExpression) DivideAssign(Expression, Expression, MethodInfo, LambdaExpression) DivideAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,代表不含溢位檢查的除法指派運算。Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.

Dynamic(CallSiteBinder, Type, Expression) Dynamic(CallSiteBinder, Type, Expression) Dynamic(CallSiteBinder, Type, Expression) Dynamic(CallSiteBinder, Type, Expression)

建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

Dynamic(CallSiteBinder, Type, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression)

建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

Dynamic(CallSiteBinder, Type, Expression, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression, Expression)

建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

Dynamic(CallSiteBinder, Type, Expression, Expression, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression, Expression, Expression) Dynamic(CallSiteBinder, Type, Expression, Expression, Expression, Expression)

建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

Dynamic(CallSiteBinder, Type, Expression[]) Dynamic(CallSiteBinder, Type, Expression[]) Dynamic(CallSiteBinder, Type, Expression[]) Dynamic(CallSiteBinder, Type, Expression[])

建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

Dynamic(CallSiteBinder, Type, IEnumerable<Expression>) Dynamic(CallSiteBinder, Type, IEnumerable<Expression>) Dynamic(CallSiteBinder, Type, IEnumerable<Expression>) Dynamic(CallSiteBinder, Type, IEnumerable<Expression>)

建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

ElementInit(MethodInfo, Expression[]) ElementInit(MethodInfo, Expression[]) ElementInit(MethodInfo, Expression[]) ElementInit(MethodInfo, Expression[])

指定值陣列做為第二個引數,建立 ElementInitCreates an ElementInit, given an array of values as the second argument.

ElementInit(MethodInfo, IEnumerable<Expression>) ElementInit(MethodInfo, IEnumerable<Expression>) ElementInit(MethodInfo, IEnumerable<Expression>) ElementInit(MethodInfo, IEnumerable<Expression>)

指定 ElementInit 做為第二個引數,建立 IEnumerable<T>Creates an ElementInit, given an IEnumerable<T> as the second argument.

Empty() Empty() Empty() Empty()

建立具有 Void 類型的空運算式。Creates an empty expression that has Void type.

Equal(Expression, Expression) Equal(Expression, Expression) Equal(Expression, Expression) Equal(Expression, Expression)

建立代表相等比較的 BinaryExpressionCreates a BinaryExpression that represents an equality comparison.

Equal(Expression, Expression, Boolean, MethodInfo) Equal(Expression, Expression, Boolean, MethodInfo) Equal(Expression, Expression, Boolean, MethodInfo) Equal(Expression, Expression, Boolean, MethodInfo)

建立代表相等比較的 BinaryExpressionCreates a BinaryExpression that represents an equality comparison. 實作的方法可加以指定。The implementing method can be specified.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExclusiveOr(Expression, Expression) ExclusiveOr(Expression, Expression) ExclusiveOr(Expression, Expression) ExclusiveOr(Expression, Expression)

使用 op_ExclusiveOr 作為使用者定義型別,建立表示位元 XOR 運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR operation, using op_ExclusiveOr for user-defined types.

ExclusiveOr(Expression, Expression, MethodInfo) ExclusiveOr(Expression, Expression, MethodInfo) ExclusiveOr(Expression, Expression, MethodInfo) ExclusiveOr(Expression, Expression, MethodInfo)

使用 op_ExclusiveOr 作為使用者定義型別,建立表示位元 XOR 運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR operation, using op_ExclusiveOr for user-defined types. 實作的方法可加以指定。The implementing method can be specified.

ExclusiveOrAssign(Expression, Expression) ExclusiveOrAssign(Expression, Expression) ExclusiveOrAssign(Expression, Expression) ExclusiveOrAssign(Expression, Expression)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

ExclusiveOrAssign(Expression, Expression, MethodInfo) ExclusiveOrAssign(Expression, Expression, MethodInfo) ExclusiveOrAssign(Expression, Expression, MethodInfo) ExclusiveOrAssign(Expression, Expression, MethodInfo)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression) ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression) ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression) ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

Field(Expression, FieldInfo) Field(Expression, FieldInfo) Field(Expression, FieldInfo) Field(Expression, FieldInfo)

建立代表存取欄位的 MemberExpressionCreates a MemberExpression that represents accessing a field.

Field(Expression, String) Field(Expression, String) Field(Expression, String) Field(Expression, String)

建立 MemberExpression,代表存取可指定欄位名稱的欄位。Creates a MemberExpression that represents accessing a field given the name of the field.

Field(Expression, Type, String) Field(Expression, Type, String) Field(Expression, Type, String) Field(Expression, Type, String)

建立代表存取欄位的 MemberExpressionCreates a MemberExpression that represents accessing a field.

GetActionType(Type[]) GetActionType(Type[]) GetActionType(Type[]) GetActionType(Type[])

建立 Type 物件,這個物件代表具有特定型別引數的泛型 System.Action 委派類型。Creates a Type object that represents a generic System.Action delegate type that has specific type arguments.

GetDelegateType(Type[]) GetDelegateType(Type[]) GetDelegateType(Type[]) GetDelegateType(Type[])

取得 Type 物件,這個物件代表具有特定型別引數的泛型 System.FuncSystem.Action 委派類型。Gets a Type object that represents a generic System.Func or System.Action delegate type that has specific type arguments.

GetFuncType(Type[]) GetFuncType(Type[]) GetFuncType(Type[]) GetFuncType(Type[])

建立 Type 物件,這個物件代表具有特定型別引數的泛型 System.Func 委派類型。Creates a Type object that represents a generic System.Func delegate type that has specific type arguments. 最後一個類型引數指定已建立之委派的傳回類型。The last type argument specifies the return type of the created delegate.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
Goto(LabelTarget) Goto(LabelTarget) Goto(LabelTarget) Goto(LabelTarget)

建立表示 "go to" 陳述式的 GotoExpressionCreates a GotoExpression representing a "go to" statement.

Goto(LabelTarget, Expression) Goto(LabelTarget, Expression) Goto(LabelTarget, Expression) Goto(LabelTarget, Expression)

建立表示 "go to" 陳述式的 GotoExpressionCreates a GotoExpression representing a "go to" statement. 可以指定跳躍時傳遞至標籤的值。The value passed to the label upon jumping can be specified.

Goto(LabelTarget, Expression, Type) Goto(LabelTarget, Expression, Type) Goto(LabelTarget, Expression, Type) Goto(LabelTarget, Expression, Type)

建立 GotoExpression,表示含指定之類型的 "go to" 陳述式。Creates a GotoExpression representing a "go to" statement with the specified type. 可以指定跳躍時傳遞至標籤的值。The value passed to the label upon jumping can be specified.

Goto(LabelTarget, Type) Goto(LabelTarget, Type) Goto(LabelTarget, Type) Goto(LabelTarget, Type)

建立 GotoExpression,表示含指定之類型的 "go to" 陳述式。Creates a GotoExpression representing a "go to" statement with the specified type.

GreaterThan(Expression, Expression) GreaterThan(Expression, Expression) GreaterThan(Expression, Expression) GreaterThan(Expression, Expression)

建立代表「大於」數值比較的 BinaryExpressionCreates a BinaryExpression that represents a "greater than" numeric comparison.

GreaterThan(Expression, Expression, Boolean, MethodInfo) GreaterThan(Expression, Expression, Boolean, MethodInfo) GreaterThan(Expression, Expression, Boolean, MethodInfo) GreaterThan(Expression, Expression, Boolean, MethodInfo)

建立代表「大於」數值比較的 BinaryExpressionCreates a BinaryExpression that represents a "greater than" numeric comparison. 實作的方法可加以指定。The implementing method can be specified.

GreaterThanOrEqual(Expression, Expression) GreaterThanOrEqual(Expression, Expression) GreaterThanOrEqual(Expression, Expression) GreaterThanOrEqual(Expression, Expression)

建立代表「大於或等於」數值比較的 BinaryExpressionCreates a BinaryExpression that represents a "greater than or equal" numeric comparison.

GreaterThanOrEqual(Expression, Expression, Boolean, MethodInfo) GreaterThanOrEqual(Expression, Expression, Boolean, MethodInfo) GreaterThanOrEqual(Expression, Expression, Boolean, MethodInfo) GreaterThanOrEqual(Expression, Expression, Boolean, MethodInfo)

建立代表「大於或等於」數值比較的 BinaryExpressionCreates a BinaryExpression that represents a "greater than or equal" numeric comparison.

IfThen(Expression, Expression) IfThen(Expression, Expression) IfThen(Expression, Expression) IfThen(Expression, Expression)

建立 ConditionalExpression,代表具有 if 陳述式的條件區塊。Creates a ConditionalExpression that represents a conditional block with an if statement.

IfThenElse(Expression, Expression, Expression) IfThenElse(Expression, Expression, Expression) IfThenElse(Expression, Expression, Expression) IfThenElse(Expression, Expression, Expression)

建立 ConditionalExpression,代表具有 ifelse 陳述式的條件區塊。Creates a ConditionalExpression that represents a conditional block with if and else statements.

Increment(Expression) Increment(Expression) Increment(Expression) Increment(Expression)

建立 UnaryExpression,表示運算式值遞增 1。Creates a UnaryExpression that represents the incrementing of the expression value by 1.

Increment(Expression, MethodInfo) Increment(Expression, MethodInfo) Increment(Expression, MethodInfo) Increment(Expression, MethodInfo)

建立 UnaryExpression,代表運算式遞增 1。Creates a UnaryExpression that represents the incrementing of the expression by 1.

Invoke(Expression, Expression[]) Invoke(Expression, Expression[]) Invoke(Expression, Expression[]) Invoke(Expression, Expression[])

建立 InvocationExpression,將委派或 Lambda 運算式套用至引數運算式清單。Creates an InvocationExpression that applies a delegate or lambda expression to a list of argument expressions.

Invoke(Expression, IEnumerable<Expression>) Invoke(Expression, IEnumerable<Expression>) Invoke(Expression, IEnumerable<Expression>) Invoke(Expression, IEnumerable<Expression>)

建立 InvocationExpression,將委派或 Lambda 運算式套用至引數運算式清單。Creates an InvocationExpression that applies a delegate or lambda expression to a list of argument expressions.

IsFalse(Expression) IsFalse(Expression) IsFalse(Expression) IsFalse(Expression)

傳回運算式是否評估為 false。Returns whether the expression evaluates to false.

IsFalse(Expression, MethodInfo) IsFalse(Expression, MethodInfo) IsFalse(Expression, MethodInfo) IsFalse(Expression, MethodInfo)

傳回運算式是否評估為 false。Returns whether the expression evaluates to false.

IsTrue(Expression) IsTrue(Expression) IsTrue(Expression) IsTrue(Expression)

傳回運算式是否評估為 true。Returns whether the expression evaluates to true.

IsTrue(Expression, MethodInfo) IsTrue(Expression, MethodInfo) IsTrue(Expression, MethodInfo) IsTrue(Expression, MethodInfo)

傳回運算式是否評估為 true。Returns whether the expression evaluates to true.

Label() Label() Label() Label()

建立 LabelTarget,代表包含 void 類型但沒有名稱的標籤。Creates a LabelTarget representing a label with void type and no name.

Label(LabelTarget) Label(LabelTarget) Label(LabelTarget) Label(LabelTarget)

建立 LabelExpression,代表沒有預設值的標籤。Creates a LabelExpression representing a label without a default value.

Label(LabelTarget, Expression) Label(LabelTarget, Expression) Label(LabelTarget, Expression) Label(LabelTarget, Expression)

建立 LabelExpression,代表包含指定之預設值的標籤。Creates a LabelExpression representing a label with the given default value.

Label(String) Label(String) Label(String) Label(String)

建立 LabelTarget,代表包含 void 類型和指定之名稱的標籤。Creates a LabelTarget representing a label with void type and the given name.

Label(Type) Label(Type) Label(Type) Label(Type)

建立 LabelTarget,代表包含指定之類型的標籤。Creates a LabelTarget representing a label with the given type.

Label(Type, String) Label(Type, String) Label(Type, String) Label(Type, String)

建立 LabelTarget,代表包含指定之類型和名稱的標籤。Creates a LabelTarget representing a label with the given type and name.

Lambda(Expression, Boolean, IEnumerable<ParameterExpression>) Lambda(Expression, Boolean, IEnumerable<ParameterExpression>) Lambda(Expression, Boolean, IEnumerable<ParameterExpression>) Lambda(Expression, Boolean, IEnumerable<ParameterExpression>)

先從運算式主體建構委派型別、指出是否套用 tail 呼叫最佳化的參數與參數運算式的可列舉集合,以建立 LambdaExpressionCreates a LambdaExpression by first constructing a delegate type from the expression body, a parameter that indicates whether tail call optimization will be applied, and an enumerable collection of parameter expressions. 它可用於在編譯階段不知道委派類型時。It can be used when the delegate type is not known at compile time.

Lambda(Expression, Boolean, ParameterExpression[]) Lambda(Expression, Boolean, ParameterExpression[]) Lambda(Expression, Boolean, ParameterExpression[]) Lambda(Expression, Boolean, ParameterExpression[])

先從運算式主體建構委派型別、指出是否套用 tail 呼叫最佳化的參數與參數運算式的陣列,以建立 LambdaExpressionCreates a LambdaExpression by first constructing a delegate type from the expression body, a parameter that indicates whether tail call optimization will be applied, and an array of parameter expressions. 它可用於在編譯階段不知道委派類型時。It can be used when the delegate type is not known at compile time.

Lambda(Expression, IEnumerable<ParameterExpression>) Lambda(Expression, IEnumerable<ParameterExpression>) Lambda(Expression, IEnumerable<ParameterExpression>) Lambda(Expression, IEnumerable<ParameterExpression>)

先從運算式主體建構委派型別與參數運算式的可列舉集合,以建立 LambdaExpressionCreates a LambdaExpression by first constructing a delegate type from the expression body, and an enumerable collection of parameter expressions. 它可用於在編譯階段不知道委派類型時。It can be used when the delegate type is not known at compile time.

Lambda(Expression, ParameterExpression[]) Lambda(Expression, ParameterExpression[]) Lambda(Expression, ParameterExpression[]) Lambda(Expression, ParameterExpression[])

先從運算式主體建構委派型別與參數運算式的陣列,以建立 LambdaExpressionCreates a LambdaExpression by first constructing a delegate type from the expression body, and an array of parameter expressions. 它可用於在編譯階段不知道委派類型時。It can be used when the delegate type is not known at compile time.

Lambda(Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda(Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda(Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda(Expression, String, Boolean, IEnumerable<ParameterExpression>)

先從運算式主體建構委派型別、lambda 的名稱、指出是否套用 tail 呼叫最佳化的參數與參數運算式的可列舉集合,以建立 LambdaExpressionCreates a LambdaExpression by first constructing a delegate type from the expression body, the name for the lambda, a parameter that indicates whether tail call optimization will be applied, and an enumerable collection of parameter expressions. 它可用於在編譯階段不知道委派類型時。It can be used when the delegate type is not known at compile time.

Lambda(Expression, String, IEnumerable<ParameterExpression>) Lambda(Expression, String, IEnumerable<ParameterExpression>) Lambda(Expression, String, IEnumerable<ParameterExpression>) Lambda(Expression, String, IEnumerable<ParameterExpression>)

先從運算式主體建構委派型別、lambda 的名稱與參數運算式的可列舉集合,以建立 LambdaExpressionCreates a LambdaExpression by first constructing a delegate type from the expression body, the name for the lambda, and an enumerable collection of parameter expressions. 它可用於在編譯階段不知道委派類型時。It can be used when the delegate type is not known at compile time.

Lambda(Type, Expression, Boolean, IEnumerable<ParameterExpression>) Lambda(Type, Expression, Boolean, IEnumerable<ParameterExpression>) Lambda(Type, Expression, Boolean, IEnumerable<ParameterExpression>) Lambda(Type, Expression, Boolean, IEnumerable<ParameterExpression>)

使用指出指出是否套用 tail 呼叫最佳化的參數與參數運算式的可列舉集合建立 LambdaExpression,其中委派型別在編譯時間為已知。Creates a LambdaExpression where the delegate type is known at compile time, with a parameter that indicates whether tail call optimization will be applied, and an enumerable collection of parameter expressions.

Lambda(Type, Expression, Boolean, ParameterExpression[]) Lambda(Type, Expression, Boolean, ParameterExpression[]) Lambda(Type, Expression, Boolean, ParameterExpression[]) Lambda(Type, Expression, Boolean, ParameterExpression[])

使用指出指出是否套用 tail 呼叫最佳化的參數與參數運算式的陣列建立 LambdaExpression,其中委派型別在編譯時間為已知。Creates a LambdaExpression where the delegate type is known at compile time, with a parameter that indicates whether tail call optimization will be applied, and an array of parameter expressions.

Lambda(Type, Expression, IEnumerable<ParameterExpression>) Lambda(Type, Expression, IEnumerable<ParameterExpression>) Lambda(Type, Expression, IEnumerable<ParameterExpression>) Lambda(Type, Expression, IEnumerable<ParameterExpression>)

使用參數運算式的可列舉集合建立 LambdaExpression,其中委派型別在編譯時間為已知。Creates a LambdaExpression where the delegate type is known at compile time, with an enumerable collection of parameter expressions.

Lambda(Type, Expression, ParameterExpression[]) Lambda(Type, Expression, ParameterExpression[]) Lambda(Type, Expression, ParameterExpression[]) Lambda(Type, Expression, ParameterExpression[])

使用參數運算式的陣列建立 LambdaExpression,其中委派型別在編譯時間為已知。Creates a LambdaExpression where the delegate type is known at compile time, with an array of parameter expressions.

Lambda(Type, Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda(Type, Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda(Type, Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda(Type, Expression, String, Boolean, IEnumerable<ParameterExpression>)

使用 lambda 的名稱、指出指出是否套用 tail 呼叫最佳化的參數與參數運算式的可列舉集合建立 LambdaExpression,其中委派型別在編譯時間為已知。Creates a LambdaExpression where the delegate type is known at compile time, with the name for the lambda, a parameter that indicates whether tail call optimization will be applied, and an enumerable collection of parameter expressions.

Lambda(Type, Expression, String, IEnumerable<ParameterExpression>) Lambda(Type, Expression, String, IEnumerable<ParameterExpression>) Lambda(Type, Expression, String, IEnumerable<ParameterExpression>) Lambda(Type, Expression, String, IEnumerable<ParameterExpression>)

使用 lambda 的名稱與參數運算式的可列舉集合建立 LambdaExpression,其中委派型別在編譯時間為已知。Creates a LambdaExpression where the delegate type is known at compile time, with the name for the lambda, and an enumerable collection of parameter expressions.

Lambda<TDelegate>(Expression, Boolean, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, Boolean, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, Boolean, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, Boolean, IEnumerable<ParameterExpression>)

使用指出指出是否套用 tail 呼叫最佳化的參數與參數運算式的可列舉集合建立 Expression<TDelegate>,其中委派型別在編譯時間為已知。Creates an Expression<TDelegate> where the delegate type is known at compile time, with a parameter that indicates whether tail call optimization will be applied, and an enumerable collection of parameter expressions.

Lambda<TDelegate>(Expression, Boolean, ParameterExpression[]) Lambda<TDelegate>(Expression, Boolean, ParameterExpression[]) Lambda<TDelegate>(Expression, Boolean, ParameterExpression[]) Lambda<TDelegate>(Expression, Boolean, ParameterExpression[])

使用指出指出是否套用 tail 呼叫最佳化的參數與參數運算式的陣列建立 Expression<TDelegate>,其中委派型別在編譯時間為已知。Creates an Expression<TDelegate> where the delegate type is known at compile time, with a parameter that indicates whether tail call optimization will be applied, and an array of parameter expressions.

Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>)

使用參數運算式的可列舉集合建立 Expression<TDelegate>,其中委派型別在編譯時間為已知。Creates an Expression<TDelegate> where the delegate type is known at compile time, with an enumerable collection of parameter expressions.

Lambda<TDelegate>(Expression, ParameterExpression[]) Lambda<TDelegate>(Expression, ParameterExpression[]) Lambda<TDelegate>(Expression, ParameterExpression[]) Lambda<TDelegate>(Expression, ParameterExpression[])

使用參數運算式的陣列建立 Expression<TDelegate>,其中委派型別在編譯時間為已知。Creates an Expression<TDelegate> where the delegate type is known at compile time, with an array of parameter expressions.

Lambda<TDelegate>(Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, String, Boolean, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, String, Boolean, IEnumerable<ParameterExpression>)

使用 lambda 的名稱、指出指出是否套用 tail 呼叫最佳化的參數與參數運算式的可列舉集合建立 Expression<TDelegate>,其中委派型別在編譯時間為已知。Creates an Expression<TDelegate> where the delegate type is known at compile time, with the name for the lambda, a parameter that indicates whether tail call optimization will be applied, and an enumerable collection of parameter expressions.

Lambda<TDelegate>(Expression, String, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, String, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, String, IEnumerable<ParameterExpression>) Lambda<TDelegate>(Expression, String, IEnumerable<ParameterExpression>)

使用 lambda 的名稱與參數運算式的可列舉集合建立 Expression<TDelegate>,其中委派型別在編譯時間為已知。Creates an Expression<TDelegate> where the delegate type is known at compile time, with the name for the lambda, and an enumerable collection of parameter expressions.

LeftShift(Expression, Expression) LeftShift(Expression, Expression) LeftShift(Expression, Expression) LeftShift(Expression, Expression)

建立表示位元左移 (Left-Shift) 運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise left-shift operation.

LeftShift(Expression, Expression, MethodInfo) LeftShift(Expression, Expression, MethodInfo) LeftShift(Expression, Expression, MethodInfo) LeftShift(Expression, Expression, MethodInfo)

建立表示位元左移 (Left-Shift) 運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise left-shift operation.

LeftShiftAssign(Expression, Expression) LeftShiftAssign(Expression, Expression) LeftShiftAssign(Expression, Expression) LeftShiftAssign(Expression, Expression)

建立表示位元左移位指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise left-shift assignment operation.

LeftShiftAssign(Expression, Expression, MethodInfo) LeftShiftAssign(Expression, Expression, MethodInfo) LeftShiftAssign(Expression, Expression, MethodInfo) LeftShiftAssign(Expression, Expression, MethodInfo)

建立表示位元左移位指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise left-shift assignment operation.

LeftShiftAssign(Expression, Expression, MethodInfo, LambdaExpression) LeftShiftAssign(Expression, Expression, MethodInfo, LambdaExpression) LeftShiftAssign(Expression, Expression, MethodInfo, LambdaExpression) LeftShiftAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立表示位元左移位指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise left-shift assignment operation.

LessThan(Expression, Expression) LessThan(Expression, Expression) LessThan(Expression, Expression) LessThan(Expression, Expression)

建立代表「小於」數值比較的 BinaryExpressionCreates a BinaryExpression that represents a "less than" numeric comparison.

LessThan(Expression, Expression, Boolean, MethodInfo) LessThan(Expression, Expression, Boolean, MethodInfo) LessThan(Expression, Expression, Boolean, MethodInfo) LessThan(Expression, Expression, Boolean, MethodInfo)

建立代表「小於」數值比較的 BinaryExpressionCreates a BinaryExpression that represents a "less than" numeric comparison.

LessThanOrEqual(Expression, Expression) LessThanOrEqual(Expression, Expression) LessThanOrEqual(Expression, Expression) LessThanOrEqual(Expression, Expression)

建立代表「小於或等於」數值比較的 BinaryExpressionCreates a BinaryExpression that represents a " less than or equal" numeric comparison.

LessThanOrEqual(Expression, Expression, Boolean, MethodInfo) LessThanOrEqual(Expression, Expression, Boolean, MethodInfo) LessThanOrEqual(Expression, Expression, Boolean, MethodInfo) LessThanOrEqual(Expression, Expression, Boolean, MethodInfo)

建立代表「小於或等於」數值比較的 BinaryExpressionCreates a BinaryExpression that represents a "less than or equal" numeric comparison.

ListBind(MemberInfo, ElementInit[]) ListBind(MemberInfo, ElementInit[]) ListBind(MemberInfo, ElementInit[]) ListBind(MemberInfo, ElementInit[])

建立 MemberListBinding,其中成員是欄位或屬性。Creates a MemberListBinding where the member is a field or property.

ListBind(MemberInfo, IEnumerable<ElementInit>) ListBind(MemberInfo, IEnumerable<ElementInit>) ListBind(MemberInfo, IEnumerable<ElementInit>) ListBind(MemberInfo, IEnumerable<ElementInit>)

建立 MemberListBinding,其中成員是欄位或屬性。Creates a MemberListBinding where the member is a field or property.

ListBind(MethodInfo, ElementInit[]) ListBind(MethodInfo, ElementInit[]) ListBind(MethodInfo, ElementInit[]) ListBind(MethodInfo, ElementInit[])

根據指定的屬性存取子方法建立 MemberListBinding 物件。Creates a MemberListBinding object based on a specified property accessor method.

ListBind(MethodInfo, IEnumerable<ElementInit>) ListBind(MethodInfo, IEnumerable<ElementInit>) ListBind(MethodInfo, IEnumerable<ElementInit>) ListBind(MethodInfo, IEnumerable<ElementInit>)

根據指定的屬性存取子方法建立 MemberListBindingCreates a MemberListBinding based on a specified property accessor method.

ListInit(NewExpression, ElementInit[]) ListInit(NewExpression, ElementInit[]) ListInit(NewExpression, ElementInit[]) ListInit(NewExpression, ElementInit[])

建立 ListInitExpression,它使用指定的 ElementInit 物件初始化集合。Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.

ListInit(NewExpression, Expression[]) ListInit(NewExpression, Expression[]) ListInit(NewExpression, Expression[]) ListInit(NewExpression, Expression[])

建立 ListInitExpression,其使用名為 "Add" 的方法將項目加入集合。Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.

ListInit(NewExpression, IEnumerable<ElementInit>) ListInit(NewExpression, IEnumerable<ElementInit>) ListInit(NewExpression, IEnumerable<ElementInit>) ListInit(NewExpression, IEnumerable<ElementInit>)

建立 ListInitExpression,它使用指定的 ElementInit 物件初始化集合。Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.

ListInit(NewExpression, IEnumerable<Expression>) ListInit(NewExpression, IEnumerable<Expression>) ListInit(NewExpression, IEnumerable<Expression>) ListInit(NewExpression, IEnumerable<Expression>)

建立 ListInitExpression,其使用名為 "Add" 的方法將項目加入集合。Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.

ListInit(NewExpression, MethodInfo, Expression[]) ListInit(NewExpression, MethodInfo, Expression[]) ListInit(NewExpression, MethodInfo, Expression[]) ListInit(NewExpression, MethodInfo, Expression[])

建立 ListInitExpression,其使用指定的方法將項目加入集合。Creates a ListInitExpression that uses a specified method to add elements to a collection.

ListInit(NewExpression, MethodInfo, IEnumerable<Expression>) ListInit(NewExpression, MethodInfo, IEnumerable<Expression>) ListInit(NewExpression, MethodInfo, IEnumerable<Expression>) ListInit(NewExpression, MethodInfo, IEnumerable<Expression>)

建立 ListInitExpression,其使用指定的方法將項目加入集合。Creates a ListInitExpression that uses a specified method to add elements to a collection.

Loop(Expression) Loop(Expression) Loop(Expression) Loop(Expression)

建立包含指定之主體的 LoopExpressionCreates a LoopExpression with the given body.

Loop(Expression, LabelTarget) Loop(Expression, LabelTarget) Loop(Expression, LabelTarget) Loop(Expression, LabelTarget)

建立包含指定之主體和 break 目標的 LoopExpressionCreates a LoopExpression with the given body and break target.

Loop(Expression, LabelTarget, LabelTarget) Loop(Expression, LabelTarget, LabelTarget) Loop(Expression, LabelTarget, LabelTarget) Loop(Expression, LabelTarget, LabelTarget)

建立包含指定之主體的 LoopExpressionCreates a LoopExpression with the given body.

MakeBinary(ExpressionType, Expression, Expression) MakeBinary(ExpressionType, Expression, Expression) MakeBinary(ExpressionType, Expression, Expression) MakeBinary(ExpressionType, Expression, Expression)

透過呼叫適當的 Factory 方法來建立 BinaryExpression,指定左運算元和右運算元。Creates a BinaryExpression, given the left and right operands, by calling an appropriate factory method.

MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo) MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo) MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo) MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo)

透過呼叫適當的 Factory 方法來建立 BinaryExpression,指定左運算元、右運算元和實作方法。Creates a BinaryExpression, given the left operand, right operand and implementing method, by calling the appropriate factory method.

MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression) MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression) MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression) MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression)

透過呼叫適當的 Factory 方法來建立 BinaryExpression,指定左運算元、右運算元、實作方法和類型轉換函式。Creates a BinaryExpression, given the left operand, right operand, implementing method and type conversion function, by calling the appropriate factory method.

MakeCatchBlock(Type, ParameterExpression, Expression, Expression) MakeCatchBlock(Type, ParameterExpression, Expression, Expression) MakeCatchBlock(Type, ParameterExpression, Expression, Expression) MakeCatchBlock(Type, ParameterExpression, Expression, Expression)

建立 CatchBlock,代表含指定之項目的 catch 陳述式。Creates a CatchBlock representing a catch statement with the specified elements.

MakeDynamic(Type, CallSiteBinder, Expression) MakeDynamic(Type, CallSiteBinder, Expression) MakeDynamic(Type, CallSiteBinder, Expression) MakeDynamic(Type, CallSiteBinder, Expression)

建立 DynamicExpression,代表指定之 CallSiteBinder 和一個引數所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and one argument.

MakeDynamic(Type, CallSiteBinder, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression)

建立 DynamicExpression,代表指定之 CallSiteBinder 和兩個引數所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and two arguments.

MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression)

建立 DynamicExpression,代表指定之 CallSiteBinder 和三個引數所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and three arguments.

MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression) MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression)

建立 DynamicExpression,代表指定之 CallSiteBinder 和四個引數所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and four arguments.

MakeDynamic(Type, CallSiteBinder, Expression[]) MakeDynamic(Type, CallSiteBinder, Expression[]) MakeDynamic(Type, CallSiteBinder, Expression[]) MakeDynamic(Type, CallSiteBinder, Expression[])

建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>) MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>) MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>) MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>)

建立 DynamicExpression,代表指定之 CallSiteBinder 所繫結的動態運算。Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

MakeGoto(GotoExpressionKind, LabelTarget, Expression, Type) MakeGoto(GotoExpressionKind, LabelTarget, Expression, Type) MakeGoto(GotoExpressionKind, LabelTarget, Expression, Type) MakeGoto(GotoExpressionKind, LabelTarget, Expression, Type)

建立 GotoExpression,代表指定之 GotoExpressionKind 的跳躍點。Creates a GotoExpression representing a jump of the specified GotoExpressionKind. 也可以指定在跳躍時傳遞至標籤的值。The value passed to the label upon jumping can also be specified.

MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>) MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>) MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>) MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>)

建立 IndexExpression,代表存取物件中的索引屬性。Creates an IndexExpression that represents accessing an indexed property in an object.

MakeMemberAccess(Expression, MemberInfo) MakeMemberAccess(Expression, MemberInfo) MakeMemberAccess(Expression, MemberInfo) MakeMemberAccess(Expression, MemberInfo)

建立代表存取欄位或屬性的 MemberExpressionCreates a MemberExpression that represents accessing either a field or a property.

MakeTry(Type, Expression, Expression, Expression, IEnumerable<CatchBlock>) MakeTry(Type, Expression, Expression, Expression, IEnumerable<CatchBlock>) MakeTry(Type, Expression, Expression, Expression, IEnumerable<CatchBlock>) MakeTry(Type, Expression, Expression, Expression, IEnumerable<CatchBlock>)

建立 TryExpression,代表含指定之項目的 try 區塊。Creates a TryExpression representing a try block with the specified elements.

MakeUnary(ExpressionType, Expression, Type) MakeUnary(ExpressionType, Expression, Type) MakeUnary(ExpressionType, Expression, Type) MakeUnary(ExpressionType, Expression, Type)

指定運算元並呼叫適當的 Factory 方法,建立 UnaryExpressionCreates a UnaryExpression, given an operand, by calling the appropriate factory method.

MakeUnary(ExpressionType, Expression, Type, MethodInfo) MakeUnary(ExpressionType, Expression, Type, MethodInfo) MakeUnary(ExpressionType, Expression, Type, MethodInfo) MakeUnary(ExpressionType, Expression, Type, MethodInfo)

指定運算元和實作方法並透過呼叫適當的 Fatory 方法,建立 UnaryExpressionCreates a UnaryExpression, given an operand and implementing method, by calling the appropriate factory method.

MemberBind(MemberInfo, IEnumerable<MemberBinding>) MemberBind(MemberInfo, IEnumerable<MemberBinding>) MemberBind(MemberInfo, IEnumerable<MemberBinding>) MemberBind(MemberInfo, IEnumerable<MemberBinding>)

建立 MemberMemberBinding,表示遞迴初始化欄位或屬性的成員。Creates a MemberMemberBinding that represents the recursive initialization of members of a field or property.

MemberBind(MemberInfo, MemberBinding[]) MemberBind(MemberInfo, MemberBinding[]) MemberBind(MemberInfo, MemberBinding[]) MemberBind(MemberInfo, MemberBinding[])

建立 MemberMemberBinding,表示遞迴初始化欄位或屬性的成員。Creates a MemberMemberBinding that represents the recursive initialization of members of a field or property.

MemberBind(MethodInfo, IEnumerable<MemberBinding>) MemberBind(MethodInfo, IEnumerable<MemberBinding>) MemberBind(MethodInfo, IEnumerable<MemberBinding>) MemberBind(MethodInfo, IEnumerable<MemberBinding>)

建立 MemberMemberBinding,表示遞迴初始化成員的成員,該成員可透過使用屬性存取子方法來存取。Creates a MemberMemberBinding that represents the recursive initialization of members of a member that is accessed by using a property accessor method.

MemberBind(MethodInfo, MemberBinding[]) MemberBind(MethodInfo, MemberBinding[]) MemberBind(MethodInfo, MemberBinding[]) MemberBind(MethodInfo, MemberBinding[])

建立 MemberMemberBinding,表示遞迴初始化成員的成員,該成員可透過使用屬性存取子方法來存取。Creates a MemberMemberBinding that represents the recursive initialization of members of a member that is accessed by using a property accessor method.

MemberInit(NewExpression, IEnumerable<MemberBinding>) MemberInit(NewExpression, IEnumerable<MemberBinding>) MemberInit(NewExpression, IEnumerable<MemberBinding>) MemberInit(NewExpression, IEnumerable<MemberBinding>)

表示建立新物件並初始化物件屬性的運算式。Represents an expression that creates a new object and initializes a property of the object.

MemberInit(NewExpression, MemberBinding[]) MemberInit(NewExpression, MemberBinding[]) MemberInit(NewExpression, MemberBinding[]) MemberInit(NewExpression, MemberBinding[])

建立 MemberInitExpressionCreates a MemberInitExpression.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
Modulo(Expression, Expression) Modulo(Expression, Expression) Modulo(Expression, Expression) Modulo(Expression, Expression)

建立代表算術餘數運算的 BinaryExpressionCreates a BinaryExpression that represents an arithmetic remainder operation.

Modulo(Expression, Expression, MethodInfo) Modulo(Expression, Expression, MethodInfo) Modulo(Expression, Expression, MethodInfo) Modulo(Expression, Expression, MethodInfo)

建立代表算術餘數運算的 BinaryExpressionCreates a BinaryExpression that represents an arithmetic remainder operation.

ModuloAssign(Expression, Expression) ModuloAssign(Expression, Expression) ModuloAssign(Expression, Expression) ModuloAssign(Expression, Expression)

建立表示餘數指派運算的 BinaryExpressionCreates a BinaryExpression that represents a remainder assignment operation.

ModuloAssign(Expression, Expression, MethodInfo) ModuloAssign(Expression, Expression, MethodInfo) ModuloAssign(Expression, Expression, MethodInfo) ModuloAssign(Expression, Expression, MethodInfo)

建立表示餘數指派運算的 BinaryExpressionCreates a BinaryExpression that represents a remainder assignment operation.

ModuloAssign(Expression, Expression, MethodInfo, LambdaExpression) ModuloAssign(Expression, Expression, MethodInfo, LambdaExpression) ModuloAssign(Expression, Expression, MethodInfo, LambdaExpression) ModuloAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立表示餘數指派運算的 BinaryExpressionCreates a BinaryExpression that represents a remainder assignment operation.

Multiply(Expression, Expression) Multiply(Expression, Expression) Multiply(Expression, Expression) Multiply(Expression, Expression)

建立 BinaryExpression,其代表不含溢位檢查的算術乘法運算。Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.

Multiply(Expression, Expression, MethodInfo) Multiply(Expression, Expression, MethodInfo) Multiply(Expression, Expression, MethodInfo) Multiply(Expression, Expression, MethodInfo)

建立 BinaryExpression,其代表不含溢位檢查的算術乘法運算。Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.

MultiplyAssign(Expression, Expression) MultiplyAssign(Expression, Expression) MultiplyAssign(Expression, Expression) MultiplyAssign(Expression, Expression)

建立 BinaryExpression,表示不含溢位檢查的乘法指派運算。Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.

MultiplyAssign(Expression, Expression, MethodInfo) MultiplyAssign(Expression, Expression, MethodInfo) MultiplyAssign(Expression, Expression, MethodInfo) MultiplyAssign(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示不含溢位檢查的乘法指派運算。Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.

MultiplyAssign(Expression, Expression, MethodInfo, LambdaExpression) MultiplyAssign(Expression, Expression, MethodInfo, LambdaExpression) MultiplyAssign(Expression, Expression, MethodInfo, LambdaExpression) MultiplyAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示不含溢位檢查的乘法指派運算。Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.

MultiplyAssignChecked(Expression, Expression) MultiplyAssignChecked(Expression, Expression) MultiplyAssignChecked(Expression, Expression) MultiplyAssignChecked(Expression, Expression)

建立 BinaryExpression,表示包含溢位檢查的乘法指派運算。Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.

MultiplyAssignChecked(Expression, Expression, MethodInfo) MultiplyAssignChecked(Expression, Expression, MethodInfo) MultiplyAssignChecked(Expression, Expression, MethodInfo) MultiplyAssignChecked(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示包含溢位檢查的乘法指派運算。Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.

MultiplyAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) MultiplyAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) MultiplyAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) MultiplyAssignChecked(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示包含溢位檢查的乘法指派運算。Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.

MultiplyChecked(Expression, Expression) MultiplyChecked(Expression, Expression) MultiplyChecked(Expression, Expression) MultiplyChecked(Expression, Expression)

建立 BinaryExpression,其代表包含溢位檢查的算術乘法運算。Creates a BinaryExpression that represents an arithmetic multiplication operation that has overflow checking.

MultiplyChecked(Expression, Expression, MethodInfo) MultiplyChecked(Expression, Expression, MethodInfo) MultiplyChecked(Expression, Expression, MethodInfo) MultiplyChecked(Expression, Expression, MethodInfo)

建立 BinaryExpression,其代表包含溢位檢查的算術乘法運算。Creates a BinaryExpression that represents an arithmetic multiplication operation that has overflow checking.

Negate(Expression) Negate(Expression) Negate(Expression) Negate(Expression)

建立代表算術負運算的 UnaryExpressionCreates a UnaryExpression that represents an arithmetic negation operation.

Negate(Expression, MethodInfo) Negate(Expression, MethodInfo) Negate(Expression, MethodInfo) Negate(Expression, MethodInfo)

建立代表算術負運算的 UnaryExpressionCreates a UnaryExpression that represents an arithmetic negation operation.

NegateChecked(Expression) NegateChecked(Expression) NegateChecked(Expression) NegateChecked(Expression)

建立 UnaryExpression,其代表包含溢位檢查的算術負運算。Creates a UnaryExpression that represents an arithmetic negation operation that has overflow checking.

NegateChecked(Expression, MethodInfo) NegateChecked(Expression, MethodInfo) NegateChecked(Expression, MethodInfo) NegateChecked(Expression, MethodInfo)

建立 UnaryExpression,其代表包含溢位檢查的算術負運算。Creates a UnaryExpression that represents an arithmetic negation operation that has overflow checking. 實作的方法可加以指定。The implementing method can be specified.

New(ConstructorInfo) New(ConstructorInfo) New(ConstructorInfo) New(ConstructorInfo)

建立 NewExpression,代表呼叫不採用任何引數的指定建構函式。Creates a NewExpression that represents calling the specified constructor that takes no arguments.

New(ConstructorInfo, Expression[]) New(ConstructorInfo, Expression[]) New(ConstructorInfo, Expression[]) New(ConstructorInfo, Expression[])

建立 NewExpression,其代表以指定之引數呼叫指定的建構函式。Creates a NewExpression that represents calling the specified constructor with the specified arguments.

New(ConstructorInfo, IEnumerable<Expression>) New(ConstructorInfo, IEnumerable<Expression>) New(ConstructorInfo, IEnumerable<Expression>) New(ConstructorInfo, IEnumerable<Expression>)

建立 NewExpression,其代表以指定之引數呼叫指定的建構函式。Creates a NewExpression that represents calling the specified constructor with the specified arguments.

New(ConstructorInfo, IEnumerable<Expression>, IEnumerable<MemberInfo>) New(ConstructorInfo, IEnumerable<Expression>, IEnumerable<MemberInfo>) New(ConstructorInfo, IEnumerable<Expression>, IEnumerable<MemberInfo>) New(ConstructorInfo, IEnumerable<Expression>, IEnumerable<MemberInfo>)

建立 NewExpression,其代表以指定之引數呼叫指定的建構函式。Creates a NewExpression that represents calling the specified constructor with the specified arguments. 已指定可存取由建構函式初始化欄位的成員。The members that access the constructor initialized fields are specified.

New(ConstructorInfo, IEnumerable<Expression>, MemberInfo[]) New(ConstructorInfo, IEnumerable<Expression>, MemberInfo[]) New(ConstructorInfo, IEnumerable<Expression>, MemberInfo[]) New(ConstructorInfo, IEnumerable<Expression>, MemberInfo[])

建立 NewExpression,其代表以指定之引數呼叫指定的建構函式。Creates a NewExpression that represents calling the specified constructor with the specified arguments. 已指定可存取由建構函式初始化欄位的成員為陣列。The members that access the constructor initialized fields are specified as an array.

New(Type) New(Type) New(Type) New(Type)

建立 NewExpression,代表呼叫指定類型的無參數建構函式。Creates a NewExpression that represents calling the parameterless constructor of the specified type.

NewArrayBounds(Type, Expression[]) NewArrayBounds(Type, Expression[]) NewArrayBounds(Type, Expression[]) NewArrayBounds(Type, Expression[])

建立 NewArrayExpression,其代表建立具有指定之陣序的陣列。Creates a NewArrayExpression that represents creating an array that has a specified rank.

NewArrayBounds(Type, IEnumerable<Expression>) NewArrayBounds(Type, IEnumerable<Expression>) NewArrayBounds(Type, IEnumerable<Expression>) NewArrayBounds(Type, IEnumerable<Expression>)

建立 NewArrayExpression,其代表建立具有指定之陣序的陣列。Creates a NewArrayExpression that represents creating an array that has a specified rank.

NewArrayInit(Type, Expression[]) NewArrayInit(Type, Expression[]) NewArrayInit(Type, Expression[]) NewArrayInit(Type, Expression[])

建立 NewArrayExpression,其代表建立一維陣列,並從項目清單將此陣列初始化。Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements.

NewArrayInit(Type, IEnumerable<Expression>) NewArrayInit(Type, IEnumerable<Expression>) NewArrayInit(Type, IEnumerable<Expression>) NewArrayInit(Type, IEnumerable<Expression>)

建立 NewArrayExpression,其代表建立一維陣列,並從項目清單將此陣列初始化。Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements.

Not(Expression) Not(Expression) Not(Expression) Not(Expression)

建立表示位元補數運算的 UnaryExpressionCreates a UnaryExpression that represents a bitwise complement operation.

Not(Expression, MethodInfo) Not(Expression, MethodInfo) Not(Expression, MethodInfo) Not(Expression, MethodInfo)

建立表示位元補數運算的 UnaryExpressionCreates a UnaryExpression that represents a bitwise complement operation. 實作的方法可加以指定。The implementing method can be specified.

NotEqual(Expression, Expression) NotEqual(Expression, Expression) NotEqual(Expression, Expression) NotEqual(Expression, Expression)

建立代表不相等比較的 BinaryExpressionCreates a BinaryExpression that represents an inequality comparison.

NotEqual(Expression, Expression, Boolean, MethodInfo) NotEqual(Expression, Expression, Boolean, MethodInfo) NotEqual(Expression, Expression, Boolean, MethodInfo) NotEqual(Expression, Expression, Boolean, MethodInfo)

建立代表不相等比較的 BinaryExpressionCreates a BinaryExpression that represents an inequality comparison.

OnesComplement(Expression) OnesComplement(Expression) OnesComplement(Expression) OnesComplement(Expression)

傳回表示 1 補數的運算式。Returns the expression representing the ones complement.

OnesComplement(Expression, MethodInfo) OnesComplement(Expression, MethodInfo) OnesComplement(Expression, MethodInfo) OnesComplement(Expression, MethodInfo)

傳回表示 1 補數的運算式。Returns the expression representing the ones complement.

Or(Expression, Expression) Or(Expression, Expression) Or(Expression, Expression) Or(Expression, Expression)

建立表示位元 BinaryExpression 運算的 ORCreates a BinaryExpression that represents a bitwise OR operation.

Or(Expression, Expression, MethodInfo) Or(Expression, Expression, MethodInfo) Or(Expression, Expression, MethodInfo) Or(Expression, Expression, MethodInfo)

建立表示位元 BinaryExpression 運算的 ORCreates a BinaryExpression that represents a bitwise OR operation.

OrAssign(Expression, Expression) OrAssign(Expression, Expression) OrAssign(Expression, Expression) OrAssign(Expression, Expression)

建立表示位元 OR 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise OR assignment operation.

OrAssign(Expression, Expression, MethodInfo) OrAssign(Expression, Expression, MethodInfo) OrAssign(Expression, Expression, MethodInfo) OrAssign(Expression, Expression, MethodInfo)

建立表示位元 OR 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise OR assignment operation.

OrAssign(Expression, Expression, MethodInfo, LambdaExpression) OrAssign(Expression, Expression, MethodInfo, LambdaExpression) OrAssign(Expression, Expression, MethodInfo, LambdaExpression) OrAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立表示位元 OR 指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise OR assignment operation.

OrElse(Expression, Expression) OrElse(Expression, Expression) OrElse(Expression, Expression) OrElse(Expression, Expression)

建立 BinaryExpression,表示只在第一個運算元計算結果為 OR 時才求第二個運算元之值的 false 條件運算。Creates a BinaryExpression that represents a conditional OR operation that evaluates the second operand only if the first operand evaluates to false.

OrElse(Expression, Expression, MethodInfo) OrElse(Expression, Expression, MethodInfo) OrElse(Expression, Expression, MethodInfo) OrElse(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示只在第一個運算元計算結果為 OR 時才求第二個運算元之值的 false 條件運算。Creates a BinaryExpression that represents a conditional OR operation that evaluates the second operand only if the first operand evaluates to false.

Parameter(Type) Parameter(Type) Parameter(Type) Parameter(Type)

建立 ParameterExpression 節點,此節點可用以識別運算式樹狀中的參數或變數。Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

Parameter(Type, String) Parameter(Type, String) Parameter(Type, String) Parameter(Type, String)

建立 ParameterExpression 節點,此節點可用以識別運算式樹狀中的參數或變數。Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

PostDecrementAssign(Expression) PostDecrementAssign(Expression) PostDecrementAssign(Expression) PostDecrementAssign(Expression)

建立 UnaryExpression,表示後面接續原始運算式遞減 1 的運算式指派。Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent decrement by 1 of the original expression.

PostDecrementAssign(Expression, MethodInfo) PostDecrementAssign(Expression, MethodInfo) PostDecrementAssign(Expression, MethodInfo) PostDecrementAssign(Expression, MethodInfo)

建立 UnaryExpression,表示後面接續原始運算式遞減 1 的運算式指派。Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent decrement by 1 of the original expression.

PostIncrementAssign(Expression) PostIncrementAssign(Expression) PostIncrementAssign(Expression) PostIncrementAssign(Expression)

建立 UnaryExpression,表示後面接續原始運算式遞增 1 的運算式指派。Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent increment by 1 of the original expression.

PostIncrementAssign(Expression, MethodInfo) PostIncrementAssign(Expression, MethodInfo) PostIncrementAssign(Expression, MethodInfo) PostIncrementAssign(Expression, MethodInfo)

建立 UnaryExpression,表示後面接續原始運算式遞增 1 的運算式指派。Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent increment by 1 of the original expression.

Power(Expression, Expression) Power(Expression, Expression) Power(Expression, Expression) Power(Expression, Expression)

建立代表將數字提升為乘冪數的 BinaryExpressionCreates a BinaryExpression that represents raising a number to a power.

Power(Expression, Expression, MethodInfo) Power(Expression, Expression, MethodInfo) Power(Expression, Expression, MethodInfo) Power(Expression, Expression, MethodInfo)

建立代表將數字提升為乘冪數的 BinaryExpressionCreates a BinaryExpression that represents raising a number to a power.

PowerAssign(Expression, Expression) PowerAssign(Expression, Expression) PowerAssign(Expression, Expression) PowerAssign(Expression, Expression)

建立 BinaryExpression,表示將運算式自乘為乘冪,並且將結果指派回運算式。Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

PowerAssign(Expression, Expression, MethodInfo) PowerAssign(Expression, Expression, MethodInfo) PowerAssign(Expression, Expression, MethodInfo) PowerAssign(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示將運算式自乘為乘冪,並且將結果指派回運算式。Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

PowerAssign(Expression, Expression, MethodInfo, LambdaExpression) PowerAssign(Expression, Expression, MethodInfo, LambdaExpression) PowerAssign(Expression, Expression, MethodInfo, LambdaExpression) PowerAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示將運算式自乘為乘冪,並且將結果指派回運算式。Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

PreDecrementAssign(Expression) PreDecrementAssign(Expression) PreDecrementAssign(Expression) PreDecrementAssign(Expression)

建立 UnaryExpression,可讓運算式遞減 1,並將結果指派回運算式。Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

PreDecrementAssign(Expression, MethodInfo) PreDecrementAssign(Expression, MethodInfo) PreDecrementAssign(Expression, MethodInfo) PreDecrementAssign(Expression, MethodInfo)

建立 UnaryExpression,可讓運算式遞減 1,並將結果指派回運算式。Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

PreIncrementAssign(Expression) PreIncrementAssign(Expression) PreIncrementAssign(Expression) PreIncrementAssign(Expression)

建立 UnaryExpression,可讓運算式遞增 1,並將結果指派回運算式。Creates a UnaryExpression that increments the expression by 1 and assigns the result back to the expression.

PreIncrementAssign(Expression, MethodInfo) PreIncrementAssign(Expression, MethodInfo) PreIncrementAssign(Expression, MethodInfo) PreIncrementAssign(Expression, MethodInfo)

建立 UnaryExpression,可讓運算式遞增 1,並將結果指派回運算式。Creates a UnaryExpression that increments the expression by 1 and assigns the result back to the expression.

Property(Expression, MethodInfo) Property(Expression, MethodInfo) Property(Expression, MethodInfo) Property(Expression, MethodInfo)

建立 MemberExpression,代表透過使用屬性存取子來存取屬性。Creates a MemberExpression that represents accessing a property by using a property accessor method.

Property(Expression, PropertyInfo) Property(Expression, PropertyInfo) Property(Expression, PropertyInfo) Property(Expression, PropertyInfo)

建立代表存取屬性的 MemberExpressionCreates a MemberExpression that represents accessing a property.

Property(Expression, PropertyInfo, Expression[]) Property(Expression, PropertyInfo, Expression[]) Property(Expression, PropertyInfo, Expression[]) Property(Expression, PropertyInfo, Expression[])

建立 IndexExpression,表示索引之屬性的存取結果。Creates an IndexExpression representing the access to an indexed property.

Property(Expression, PropertyInfo, IEnumerable<Expression>) Property(Expression, PropertyInfo, IEnumerable<Expression>) Property(Expression, PropertyInfo, IEnumerable<Expression>) Property(Expression, PropertyInfo, IEnumerable<Expression>)

建立 IndexExpression,表示索引之屬性的存取結果。Creates an IndexExpression representing the access to an indexed property.

Property(Expression, String) Property(Expression, String) Property(Expression, String) Property(Expression, String)

建立代表存取屬性的 MemberExpressionCreates a MemberExpression that represents accessing a property.

Property(Expression, String, Expression[]) Property(Expression, String, Expression[]) Property(Expression, String, Expression[]) Property(Expression, String, Expression[])

建立 IndexExpression,表示索引之屬性的存取結果。Creates an IndexExpression representing the access to an indexed property.

Property(Expression, Type, String) Property(Expression, Type, String) Property(Expression, Type, String) Property(Expression, Type, String)

建立用於存取屬性的 MemberExpressionCreates a MemberExpression accessing a property.

PropertyOrField(Expression, String) PropertyOrField(Expression, String) PropertyOrField(Expression, String) PropertyOrField(Expression, String)

建立 MemberExpression,代表存取屬性或欄位。Creates a MemberExpression that represents accessing a property or field.

Quote(Expression) Quote(Expression) Quote(Expression) Quote(Expression)

建立 UnaryExpression,代表具有 Expression 類型常數值的運算式。Creates a UnaryExpression that represents an expression that has a constant value of type Expression.

Reduce() Reduce() Reduce() Reduce()

將這個節點精簡為更簡單的運算式。Reduces this node to a simpler expression. 如果 CanReduce 傳回 true,則應該傳回有效的運算式。If CanReduce returns true, this should return a valid expression. 這個方法可以傳回其他本身必須精簡的節點。This method can return another node which itself must be reduced.

ReduceAndCheck() ReduceAndCheck() ReduceAndCheck() ReduceAndCheck()

將這個節點精簡為更簡單的運算式。Reduces this node to a simpler expression. 如果 CanReduce 傳回 true,則應該傳回有效的運算式。If CanReduce returns true, this should return a valid expression. 這個方法可以傳回其他本身必須精簡的節點。This method can return another node which itself must be reduced.

ReduceExtensions() ReduceExtensions() ReduceExtensions() ReduceExtensions()

將運算式精簡為已知的節點類型 (不是 Extension 節點),如果已經是已知的類型,則僅傳回運算式。Reduces the expression to a known node type (that is not an Extension node) or just returns the expression if it is already a known type.

ReferenceEqual(Expression, Expression) ReferenceEqual(Expression, Expression) ReferenceEqual(Expression, Expression) ReferenceEqual(Expression, Expression)

建立表示參考相等比較的 BinaryExpressionCreates a BinaryExpression that represents a reference equality comparison.

ReferenceNotEqual(Expression, Expression) ReferenceNotEqual(Expression, Expression) ReferenceNotEqual(Expression, Expression) ReferenceNotEqual(Expression, Expression)

建立表示參考不相等比較的 BinaryExpressionCreates a BinaryExpression that represents a reference inequality comparison.

Rethrow() Rethrow() Rethrow() Rethrow()

建立 UnaryExpression,表示重新擲回例外狀況。Creates a UnaryExpression that represents a rethrowing of an exception.

Rethrow(Type) Rethrow(Type) Rethrow(Type) Rethrow(Type)

建立 UnaryExpression,代表重新擲回含指定之類型的例外狀況。Creates a UnaryExpression that represents a rethrowing of an exception with a given type.

Return(LabelTarget) Return(LabelTarget) Return(LabelTarget) Return(LabelTarget)

建立 GotoExpression,表示 return 陳述式。Creates a GotoExpression representing a return statement.

Return(LabelTarget, Expression) Return(LabelTarget, Expression) Return(LabelTarget, Expression) Return(LabelTarget, Expression)

建立 GotoExpression,表示 return 陳述式。Creates a GotoExpression representing a return statement. 可以指定跳躍時傳遞至標籤的值。The value passed to the label upon jumping can be specified.

Return(LabelTarget, Expression, Type) Return(LabelTarget, Expression, Type) Return(LabelTarget, Expression, Type) Return(LabelTarget, Expression, Type)

建立 GotoExpression,表示含指定之類型的 return 陳述式。Creates a GotoExpression representing a return statement with the specified type. 可以指定跳躍時傳遞至標籤的值。The value passed to the label upon jumping can be specified.

Return(LabelTarget, Type) Return(LabelTarget, Type) Return(LabelTarget, Type) Return(LabelTarget, Type)

建立 GotoExpression,表示含指定之類型的 return 陳述式。Creates a GotoExpression representing a return statement with the specified type.

RightShift(Expression, Expression) RightShift(Expression, Expression) RightShift(Expression, Expression) RightShift(Expression, Expression)

建立代表位元右移 (Right-Shift) 運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise right-shift operation.

RightShift(Expression, Expression, MethodInfo) RightShift(Expression, Expression, MethodInfo) RightShift(Expression, Expression, MethodInfo) RightShift(Expression, Expression, MethodInfo)

建立代表位元右移 (Right-Shift) 運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise right-shift operation.

RightShiftAssign(Expression, Expression) RightShiftAssign(Expression, Expression) RightShiftAssign(Expression, Expression) RightShiftAssign(Expression, Expression)

建立表示位元右移位指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise right-shift assignment operation.

RightShiftAssign(Expression, Expression, MethodInfo) RightShiftAssign(Expression, Expression, MethodInfo) RightShiftAssign(Expression, Expression, MethodInfo) RightShiftAssign(Expression, Expression, MethodInfo)

建立表示位元右移位指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise right-shift assignment operation.

RightShiftAssign(Expression, Expression, MethodInfo, LambdaExpression) RightShiftAssign(Expression, Expression, MethodInfo, LambdaExpression) RightShiftAssign(Expression, Expression, MethodInfo, LambdaExpression) RightShiftAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立表示位元右移位指派運算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise right-shift assignment operation.

RuntimeVariables(IEnumerable<ParameterExpression>) RuntimeVariables(IEnumerable<ParameterExpression>) RuntimeVariables(IEnumerable<ParameterExpression>) RuntimeVariables(IEnumerable<ParameterExpression>)

建立 RuntimeVariablesExpression 的執行個體。Creates an instance of RuntimeVariablesExpression.

RuntimeVariables(ParameterExpression[]) RuntimeVariables(ParameterExpression[]) RuntimeVariables(ParameterExpression[]) RuntimeVariables(ParameterExpression[])

建立 RuntimeVariablesExpression 的執行個體。Creates an instance of RuntimeVariablesExpression.

Subtract(Expression, Expression) Subtract(Expression, Expression) Subtract(Expression, Expression) Subtract(Expression, Expression)

建立 BinaryExpression,其代表不含溢位檢查的算術減法運算。Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.

Subtract(Expression, Expression, MethodInfo) Subtract(Expression, Expression, MethodInfo) Subtract(Expression, Expression, MethodInfo) Subtract(Expression, Expression, MethodInfo)

建立 BinaryExpression,其代表不含溢位檢查的算術減法運算。Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.

SubtractAssign(Expression, Expression) SubtractAssign(Expression, Expression) SubtractAssign(Expression, Expression) SubtractAssign(Expression, Expression)

建立 BinaryExpression,表示不含溢位檢查的減法指派運算。Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.

SubtractAssign(Expression, Expression, MethodInfo) SubtractAssign(Expression, Expression, MethodInfo) SubtractAssign(Expression, Expression, MethodInfo) SubtractAssign(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示不含溢位檢查的減法指派運算。Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.

SubtractAssign(Expression, Expression, MethodInfo, LambdaExpression) SubtractAssign(Expression, Expression, MethodInfo, LambdaExpression) SubtractAssign(Expression, Expression, MethodInfo, LambdaExpression) SubtractAssign(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示不含溢位檢查的減法指派運算。Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.

SubtractAssignChecked(Expression, Expression) SubtractAssignChecked(Expression, Expression) SubtractAssignChecked(Expression, Expression) SubtractAssignChecked(Expression, Expression)

建立 BinaryExpression,表示包含溢位檢查的減法指派運算。Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.

SubtractAssignChecked(Expression, Expression, MethodInfo) SubtractAssignChecked(Expression, Expression, MethodInfo) SubtractAssignChecked(Expression, Expression, MethodInfo) SubtractAssignChecked(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示包含溢位檢查的減法指派運算。Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.

SubtractAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) SubtractAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) SubtractAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) SubtractAssignChecked(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示包含溢位檢查的減法指派運算。Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.

SubtractChecked(Expression, Expression) SubtractChecked(Expression, Expression) SubtractChecked(Expression, Expression) SubtractChecked(Expression, Expression)

建立 BinaryExpression,其代表包含溢位檢查的算術減法運算。Creates a BinaryExpression that represents an arithmetic subtraction operation that has overflow checking.

SubtractChecked(Expression, Expression, MethodInfo) SubtractChecked(Expression, Expression, MethodInfo) SubtractChecked(Expression, Expression, MethodInfo) SubtractChecked(Expression, Expression, MethodInfo)

建立 BinaryExpression,其代表包含溢位檢查的算術減法運算。Creates a BinaryExpression that represents an arithmetic subtraction operation that has overflow checking.

Switch(Expression, Expression, MethodInfo, IEnumerable<SwitchCase>) Switch(Expression, Expression, MethodInfo, IEnumerable<SwitchCase>) Switch(Expression, Expression, MethodInfo, IEnumerable<SwitchCase>) Switch(Expression, Expression, MethodInfo, IEnumerable<SwitchCase>)

建立 SwitchExpression,其代表具有預設情況的 switch 陳述式。Creates a SwitchExpression that represents a switch statement that has a default case.

Switch(Expression, Expression, MethodInfo, SwitchCase[]) Switch(Expression, Expression, MethodInfo, SwitchCase[]) Switch(Expression, Expression, MethodInfo, SwitchCase[]) Switch(Expression, Expression, MethodInfo, SwitchCase[])

建立 SwitchExpression,其代表具有預設情況的 switch 陳述式。Creates a SwitchExpression that represents a switch statement that has a default case.

Switch(Expression, Expression, SwitchCase[]) Switch(Expression, Expression, SwitchCase[]) Switch(Expression, Expression, SwitchCase[]) Switch(Expression, Expression, SwitchCase[])

建立 SwitchExpression,其代表具有預設情況的 switch 陳述式。Creates a SwitchExpression that represents a switch statement that has a default case.

Switch(Expression, SwitchCase[]) Switch(Expression, SwitchCase[]) Switch(Expression, SwitchCase[]) Switch(Expression, SwitchCase[])

建立 SwitchExpression,代表不含 default case 的 switch 陳述式。Creates a SwitchExpression that represents a switch statement without a default case.

Switch(Type, Expression, Expression, MethodInfo, IEnumerable<SwitchCase>) Switch(Type, Expression, Expression, MethodInfo, IEnumerable<SwitchCase>) Switch(Type, Expression, Expression, MethodInfo, IEnumerable<SwitchCase>) Switch(Type, Expression, Expression, MethodInfo, IEnumerable<SwitchCase>)

建立 SwitchExpression,其代表具有預設情況的 switch 陳述式。Creates a SwitchExpression that represents a switch statement that has a default case.

Switch(Type, Expression, Expression, MethodInfo, SwitchCase[]) Switch(Type, Expression, Expression, MethodInfo, SwitchCase[]) Switch(Type, Expression, Expression, MethodInfo, SwitchCase[]) Switch(Type, Expression, Expression, MethodInfo, SwitchCase[])

建立 SwitchExpression,其代表具有預設情況的 switch 陳述式。Creates a SwitchExpression that represents a switch statement that has a default case.

SwitchCase(Expression, Expression[]) SwitchCase(Expression, Expression[]) SwitchCase(Expression, Expression[]) SwitchCase(Expression, Expression[])

建立 SwitchCase 以便用於 SwitchExpressionCreates a SwitchCase for use in a SwitchExpression.

SwitchCase(Expression, IEnumerable<Expression>) SwitchCase(Expression, IEnumerable<Expression>) SwitchCase(Expression, IEnumerable<Expression>) SwitchCase(Expression, IEnumerable<Expression>)

建立要在 SwitchCase 物件中使用的 SwitchExpression 物件。Creates a SwitchCase object to be used in a SwitchExpression object.

SymbolDocument(String) SymbolDocument(String) SymbolDocument(String) SymbolDocument(String)

建立 SymbolDocumentInfo 的執行個體。Creates an instance of SymbolDocumentInfo.

SymbolDocument(String, Guid) SymbolDocument(String, Guid) SymbolDocument(String, Guid) SymbolDocument(String, Guid)

建立 SymbolDocumentInfo 的執行個體。Creates an instance of SymbolDocumentInfo.

SymbolDocument(String, Guid, Guid) SymbolDocument(String, Guid, Guid) SymbolDocument(String, Guid, Guid) SymbolDocument(String, Guid, Guid)

建立 SymbolDocumentInfo 的執行個體。Creates an instance of SymbolDocumentInfo.

SymbolDocument(String, Guid, Guid, Guid) SymbolDocument(String, Guid, Guid, Guid) SymbolDocument(String, Guid, Guid, Guid) SymbolDocument(String, Guid, Guid, Guid)

建立 SymbolDocumentInfo 的執行個體。Creates an instance of SymbolDocumentInfo.

Throw(Expression) Throw(Expression) Throw(Expression) Throw(Expression)

建立 UnaryExpression,表示擲回例外狀況。Creates a UnaryExpression that represents a throwing of an exception.

Throw(Expression, Type) Throw(Expression, Type) Throw(Expression, Type) Throw(Expression, Type)

建立 UnaryExpression,代表擲回含指定之類型的例外狀況。Creates a UnaryExpression that represents a throwing of an exception with a given type.

ToString() ToString() ToString() ToString()

傳回 Expression 的文字表示。Returns a textual representation of the Expression.

TryCatch(Expression, CatchBlock[]) TryCatch(Expression, CatchBlock[]) TryCatch(Expression, CatchBlock[]) TryCatch(Expression, CatchBlock[])

建立 TryExpression,代表含 catch 陳述式 (數目不拘) 但不含 fault 區塊或 finally 區塊的 try 區塊。Creates a TryExpression representing a try block with any number of catch statements and neither a fault nor finally block.

TryCatchFinally(Expression, Expression, CatchBlock[]) TryCatchFinally(Expression, Expression, CatchBlock[]) TryCatchFinally(Expression, Expression, CatchBlock[]) TryCatchFinally(Expression, Expression, CatchBlock[])

建立 TryExpression,代表含 catch 陳述式 (數目不拘) 和 finally 區塊的 try 區塊。Creates a TryExpression representing a try block with any number of catch statements and a finally block.

TryFault(Expression, Expression) TryFault(Expression, Expression) TryFault(Expression, Expression) TryFault(Expression, Expression)

建立 TryExpression,代表含 fault 區塊但不含任何 catch 陳述式的 try 區塊。Creates a TryExpression representing a try block with a fault block and no catch statements.

TryFinally(Expression, Expression) TryFinally(Expression, Expression) TryFinally(Expression, Expression) TryFinally(Expression, Expression)

建立 TryExpression,代表含 finally 區塊但不含任何 catch 陳述式的 try 區塊。Creates a TryExpression representing a try block with a finally block and no catch statements.

TryGetActionType(Type[], Type) TryGetActionType(Type[], Type) TryGetActionType(Type[], Type) TryGetActionType(Type[], Type)

建立 Type 物件,這個物件代表具有特定型別引數的泛型 System.Action 委派類型。Creates a Type object that represents a generic System.Action delegate type that has specific type arguments.

TryGetFuncType(Type[], Type) TryGetFuncType(Type[], Type) TryGetFuncType(Type[], Type) TryGetFuncType(Type[], Type)

建立 Type 物件,這個物件代表具有特定類型引數的泛型 System.Func 委派類型。Creates a Type object that represents a generic System.Func delegate type that has specific type arguments. 最後一個類型引數指定已建立之委派的傳回類型。The last type argument specifies the return type of the created delegate.

TypeAs(Expression, Type) TypeAs(Expression, Type) TypeAs(Expression, Type) TypeAs(Expression, Type)

建立 UnaryExpression,代表明確參考或 Boxing 轉換,其中若轉換失敗,則提供 nullCreates a UnaryExpression that represents an explicit reference or boxing conversion where null is supplied if the conversion fails.

TypeEqual(Expression, Type) TypeEqual(Expression, Type) TypeEqual(Expression, Type) TypeEqual(Expression, Type)

建立 TypeBinaryExpression 以比較執行階段類型識別。Creates a TypeBinaryExpression that compares run-time type identity.

TypeIs(Expression, Type) TypeIs(Expression, Type) TypeIs(Expression, Type) TypeIs(Expression, Type)

建立 TypeBinaryExpressionCreates a TypeBinaryExpression.

UnaryPlus(Expression) UnaryPlus(Expression) UnaryPlus(Expression) UnaryPlus(Expression)

建立代表一元加法運算的 UnaryExpressionCreates a UnaryExpression that represents a unary plus operation.

UnaryPlus(Expression, MethodInfo) UnaryPlus(Expression, MethodInfo) UnaryPlus(Expression, MethodInfo) UnaryPlus(Expression, MethodInfo)

建立代表一元加法運算的 UnaryExpressionCreates a UnaryExpression that represents a unary plus operation.

Unbox(Expression, Type) Unbox(Expression, Type) Unbox(Expression, Type) Unbox(Expression, Type)

建立 UnaryExpression,代表明確 Unboxing。Creates a UnaryExpression that represents an explicit unboxing.

Variable(Type) Variable(Type) Variable(Type) Variable(Type)

建立 ParameterExpression 節點,此節點可用以識別運算式樹狀中的參數或變數。Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

Variable(Type, String) Variable(Type, String) Variable(Type, String) Variable(Type, String)

建立 ParameterExpression 節點,此節點可用以識別運算式樹狀中的參數或變數。Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

VisitChildren(ExpressionVisitor) VisitChildren(ExpressionVisitor) VisitChildren(ExpressionVisitor) VisitChildren(ExpressionVisitor)

精簡節點,然後呼叫精簡後的運算式上的訪問項委派。Reduces the node and then calls the visitor delegate on the reduced expression. 如果節點無法縮減,此方法會擲回例外狀況。The method throws an exception if the node is not reducible.

適用於