Export (0) Print
Expand All

ExpressionType Enumeration

Describes the node types for the nodes of an expression tree.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public enum ExpressionType

Member nameDescription
AddA node that represents arithmetic addition without overflow checking.
AddCheckedA node that represents arithmetic addition with overflow checking.
AndA node that represents a bitwise AND operation.
AndAlsoA node that represents a short-circuiting conditional AND operation.
ArrayLengthA node that represents getting the length of a one-dimensional array.
ArrayIndexA node that represents indexing into a one-dimensional array.
CallA node that represents a method call.
CoalesceA node that represents a null coalescing operation.
ConditionalA node that represents a conditional operation.
ConstantA node that represents an expression that has a constant value.
ConvertA node that represents a cast or conversion operation. If the operation is a numeric conversion, it overflows silently if the converted value does not fit the target type.
ConvertCheckedA node that represents a cast or conversion operation. If the operation is a numeric conversion, an exception is thrown if the converted value does not fit the target type.
DivideA node that represents arithmetic division.
EqualA node that represents an equality comparison.
ExclusiveOrA node that represents a bitwise XOR operation.
GreaterThanA node that represents a "greater than" numeric comparison.
GreaterThanOrEqualA node that represents a "greater than or equal" numeric comparison.
InvokeA node that represents applying a delegate or lambda expression to a list of argument expressions.
LambdaA node that represents a lambda expression.
LeftShiftA node that represents a bitwise left-shift operation.
LessThanA node that represents a "less than" numeric comparison.
LessThanOrEqualA node that represents a "less than or equal" numeric comparison.
ListInitA node that represents creating a new IEnumerable object and initializing it from a list of elements.
MemberAccessA node that represents reading from a field or property.
MemberInitA node that represents creating a new object and initializing one or more of its members.
ModuloA node that represents an arithmetic remainder operation.
MultiplyA node that represents arithmetic multiplication without overflow checking.
MultiplyCheckedA node that represents arithmetic multiplication with overflow checking.
NegateA node that represents an arithmetic negation operation.
UnaryPlusA node that represents a unary plus operation. The result of a predefined unary plus operation is simply the value of the operand, but user-defined implementations may have non-trivial results.
NegateCheckedA node that represents an arithmetic negation operation that has overflow checking.
NewA node that represents calling a constructor to create a new object.
NewArrayInitA node that represents creating a new one-dimensional array and initializing it from a list of elements.
NewArrayBoundsA node that represents creating a new array where the bounds for each dimension are specified.
NotA node that represents a bitwise complement operation.
NotEqualA node that represents an inequality comparison.
OrA node that represents a bitwise OR operation.
OrElseA node that represents a short-circuiting conditional OR operation.
ParameterA node that represents a reference to a parameter defined in the context of the expression.
PowerA node that represents raising a number to a power.
QuoteA node that represents an expression that has a constant value of type Expression. A Quote node can contain references to parameters defined in the context of the expression it represents.
RightShiftA node that represents a bitwise right-shift operation.
SubtractA node that represents arithmetic subtraction without overflow checking.
SubtractCheckedA node that represents arithmetic subtraction with overflow checking.
TypeAsA node that represents an explicit reference or boxing conversion where null is supplied if the conversion fails.
TypeIsA node that represents a type test.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

ADD
Show:
© 2014 Microsoft