Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 ExpressionType Enumeration
.NET Framework Class Library
ExpressionType Enumeration

Updated: November 2007

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

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

Visual Basic (Declaration)
Public Enumeration ExpressionType
Visual Basic (Usage)
Dim instance As ExpressionType
C#
public enum ExpressionType
Visual C++
public enum class ExpressionType
J#
public enum ExpressionType
JScript
public enum ExpressionType
Member nameDescription
Add A node that represents arithmetic addition without overflow checking.
AddChecked A node that represents arithmetic addition with overflow checking.
And A node that represents a bitwise AND operation.
AndAlso A node that represents a short-circuiting conditional AND operation.
ArrayLength A node that represents getting the length of a one-dimensional array.
ArrayIndex A node that represents indexing into a one-dimensional array.
Call A node that represents a method call.
Coalesce A node that represents a null coalescing operation.
Conditional A node that represents a conditional operation.
Constant A node that represents an expression that has a constant value.
Convert A 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.
ConvertChecked A 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.
Divide A node that represents arithmetic division.
Equal A node that represents an equality comparison.
ExclusiveOr A node that represents a bitwise XOR operation.
GreaterThan A node that represents a "greater than" numeric comparison.
GreaterThanOrEqual A node that represents a "greater than or equal" numeric comparison.
Invoke A node that represents applying a delegate or lambda expression to a list of argument expressions.
Lambda A node that represents a lambda expression.
LeftShift A node that represents a bitwise left-shift operation.
LessThan A node that represents a "less than" numeric comparison.
LessThanOrEqual A node that represents a "less than or equal" numeric comparison.
ListInit A node that represents creating a new IEnumerable object and initializing it from a list of elements.
MemberAccess A node that represents reading from a field or property.
MemberInit A node that represents creating a new object and initializing one or more of its members.
Modulo A node that represents an arithmetic remainder operation.
Multiply A node that represents arithmetic multiplication without overflow checking.
MultiplyChecked A node that represents arithmetic multiplication with overflow checking.
Negate A node that represents an arithmetic negation operation.
UnaryPlus A 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.
NegateChecked A node that represents an arithmetic negation operation that has overflow checking.
New A node that represents calling a constructor to create a new object.
NewArrayInit A node that represents creating a new one-dimensional array and initializing it from a list of elements.
NewArrayBounds A node that represents creating a new array where the bounds for each dimension are specified.
Not A node that represents a bitwise complement operation.
NotEqual A node that represents an inequality comparison.
Or A node that represents a bitwise OR operation.
OrElse A node that represents a short-circuiting conditional OR operation.
Parameter A node that represents a reference to a parameter defined in the context of the expression.
Power A node that represents raising a number to a power.
Quote A 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.
RightShift A node that represents a bitwise right-shift operation.
Subtract A node that represents arithmetic subtraction without overflow checking.
SubtractChecked A node that represents arithmetic subtraction with overflow checking.
TypeAs A node that represents an explicit reference or boxing conversion where nullNothingnullptra null reference (Nothing in Visual Basic) is supplied if the conversion fails.
TypeIs A node that represents a type test.

Windows Vista, Windows XP SP2, 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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker