Export (0) Print
Expand All

Expression Members

.NET Framework 3.5

Provides the base class from which the classes that represent expression tree nodes are derived. It also contains static (Shared in Visual Basic) factory methods to create the various node types. This is an abstract class.

The Expression type exposes the following members.

  NameDescription
Protected method Expression Initializes a new instance of the Expression class.
Top

  NameDescription
Public method Static member Add Overloaded. Creates a BinaryExpression that represents an arithmetic addition operation that does not have overflow checking.
Public method Static member AddChecked Overloaded. Creates a BinaryExpression that represents an arithmetic addition operation that has overflow checking.
Public method Static member And Overloaded. Creates a BinaryExpression that represents a bitwise AND operation.
Public method Static member AndAlso Overloaded. Creates a BinaryExpression that represents a conditional AND operation that evaluates the second operand only if it has to.
Public method Static member ArrayIndex Overloaded. Creates an Expression that represents applying an array index operator.
Public method Static member ArrayLength Creates a UnaryExpression that represents getting the length of a one-dimensional array.
Public method Static member Bind Overloaded. Creates a MemberAssignment that represents the initialization of a member.
Public method Static member Call Overloaded. Creates a MethodCallExpression.
Public method Static member Coalesce Overloaded. Creates a BinaryExpression that represents a coalescing operation.
Public method Static member Condition Creates a ConditionalExpression.
Public method Static member Constant Overloaded. Creates a ConstantExpression.
Public method Static member Convert Overloaded. Creates a UnaryExpression that represents a conversion operation.
Public method Static member ConvertChecked Overloaded. Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed.
Public method Static member Divide Overloaded. Creates a BinaryExpression that represents an arithmetic division operation.
Public method Static member ElementInit Overloaded. Creates an ElementInit.
Public method Static member Equal Overloaded. Creates a BinaryExpression that represents an equality comparison.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member ExclusiveOr Overloaded. Creates a BinaryExpression that represents a bitwise XOR operation.
Public method Static member Field Overloaded. Creates a MemberExpression that represents accessing a field.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetActionType Creates a Type object that represents a generic System.Action delegate type that has specific type arguments.
Public method Static member GetFuncType Creates a Type object that represents a generic System.Func delegate type that has specific type arguments.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member GreaterThan Overloaded. Creates a BinaryExpression that represents a "greater than" numeric comparison.
Public method Static member GreaterThanOrEqual Overloaded. Creates a BinaryExpression that represents a "greater than or equal" numeric comparison.
Public method Static member Invoke Overloaded. Creates an InvocationExpression.
Public method Static member Lambda Overloaded. Creates an expression tree that represents a lambda expression.
Public method Static member LeftShift Overloaded. Creates a BinaryExpression that represents a bitwise left-shift operation.
Public method Static member LessThan Overloaded. Creates a BinaryExpression that represents a "less than" numeric comparison.
Public method Static member LessThanOrEqual Overloaded. Creates a BinaryExpression that represents a " less than or equal" numeric comparison.
Public method Static member ListBind Overloaded. Creates a MemberListBinding object.
Public method Static member ListInit Overloaded. Creates a ListInitExpression.
Public method Static member MakeBinary Overloaded. Creates a BinaryExpression by calling the appropriate factory method.
Public method Static member MakeMemberAccess Creates a MemberExpression that represents accessing either a field or a property.
Public method Static member MakeUnary Overloaded. Creates a UnaryExpression by calling the appropriate factory method.
Public method Static member MemberBind Overloaded. Creates a MemberMemberBinding that represents the recursive initialization of members of a member.
Public method Static member MemberInit Overloaded. Creates a MemberInitExpression.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Modulo Overloaded. Creates a BinaryExpression that represents an arithmetic remainder operation.
Public method Static member Multiply Overloaded. Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.
Public method Static member MultiplyChecked Overloaded. Creates a BinaryExpression that represents an arithmetic multiplication operation that has overflow checking.
Public method Static member Negate Overloaded. Creates a UnaryExpression that represents an arithmetic negation operation.
Public method Static member NegateChecked Overloaded. Creates a UnaryExpression that represents an arithmetic negation operation that has overflow checking.
Public method Static member New Overloaded. Creates a NewExpression.
Public method Static member NewArrayBounds Overloaded. Creates a NewArrayExpression that represents creating an array that has a specified rank.
Public method Static member NewArrayInit Overloaded. Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements.
Public method Static member Not Overloaded. Creates a UnaryExpression that represents a bitwise complement operation.
Public method Static member NotEqual Overloaded. Creates a BinaryExpression that represents an inequality comparison.
Public method Static member Or Overloaded. Creates a BinaryExpression that represents a bitwise OR operation.
Public method Static member OrElse Overloaded. Creates a BinaryExpression that represents a conditional OR operation that evaluates the second operand only if it has to.
Public method Static member Parameter Creates a ParameterExpression.
Public method Static member Power Overloaded. Creates a BinaryExpression that represents raising a number to a power.
Public method Static member Property Overloaded. Creates a MemberExpression that represents accessing a property.
Public method Static member PropertyOrField Creates a MemberExpression that represents accessing a property or field given the name of the property or field.
Public method Static member Quote Creates a UnaryExpression that represents an expression that has a constant value of type Expression.
Public method Static member RightShift Overloaded. Creates a BinaryExpression that represents a bitwise right-shift operation.
Public method Static member Subtract Overloaded. Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.
Public method Static member SubtractChecked Overloaded. Creates a BinaryExpression that represents an arithmetic subtraction operation that has overflow checking.
Public method ToString Returns a textual representation of the Expression. (Overrides Object.ToString().)
Public method Static member TypeAs Creates a UnaryExpression that represents an explicit reference or boxing conversion where null is supplied if the conversion fails.
Public method Static member TypeIs Creates a TypeBinaryExpression.
Public method Static member UnaryPlus Overloaded. Creates a UnaryExpression that represents a unary plus operation.
Top

  NameDescription
Public property NodeType Gets the node type of this Expression.
Public property Type Gets the static type of the expression that this Expression represents.
Top

Community Additions

ADD
Show:
© 2015 Microsoft