System.Linq.Expressions Namespace
.NET Framework Class Library
System.Linq.Expressions Namespace

The System.Linq.Expressions namespace contains classes, interfaces and enumerations that enable language-level code expressions to be represented as objects in the form of expression trees.

The abstract class Expression provides the root of a class hierarchy used to model expression trees.

The classes in this namespace that derive from Expression, for example MemberExpression and ParameterExpression, are used to represent nodes in an expression tree. The Expression class contains static (Shared in Visual Basic) factory methods to create expression tree nodes of the various types.

The enumeration type ExpressionType specifies the unique node types.

  ClassDescription
Public classBinaryExpression Represents an expression that has a binary operator.
Public classConditionalExpression Represents an expression that has a conditional operator.
Public classConstantExpression Represents an expression that has a constant value.
Public classElementInit Represents an initializer for a single element of an IEnumerable collection.
Public classExpression 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.
Public classExpression<(Of <(TDelegate>)>) Represents a strongly typed lambda expression as a data structure in the form of an expression tree. This class cannot be inherited.
Public classInvocationExpression Represents an expression that applies a delegate or lambda expression to a list of argument expressions.
Public classLambdaExpression Describes a lambda expression.
Public classListInitExpression Represents a constructor call that has a collection initializer.
Public classMemberAssignment Represents initializing a field or property of a newly created object.
Public classMemberBinding Provides the base class from which the classes that represent bindings that are used to initialize members of a newly created object derive.
Public classMemberExpression Represents accessing a field or property.
Public classMemberInitExpression Represents calling a constructor and initializing one or more members of the new object.
Public classMemberListBinding Represents initializing the elements of a collection member of a newly created object.
Public classMemberMemberBinding Represents initializing members of a member of a newly created object.
Public classMethodCallExpression Represents calling a method.
Public classNewArrayExpression Represents creating a new array and possibly initializing the elements of the new array.
Public classNewExpression Represents a constructor call.
Public classParameterExpression Represents a named parameter expression.
Public classTypeBinaryExpression Represents an operation between an expression and a type.
Public classUnaryExpression Represents an expression that has a unary operator.
  EnumerationDescription
Public enumerationExpressionType Describes the node types for the nodes of an expression tree.
Public enumerationMemberBindingType Describes the binding types that are used in MemberInitExpression objects.

Reference

Other Resources

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker