Export (0) Print
Expand All

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.

  Class Description
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps BinaryExpression Represents an expression that has a binary operator.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps BlockExpression Represents a block that contains a sequence of expressions where variables can be defined.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps CatchBlock Represents a catch statement in a try block.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ConditionalExpression Represents an expression that has a conditional operator.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ConstantExpression Represents an expression that has a constant value.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps DebugInfoExpression Emits or clears a sequence point for debug information. This allows the debugger to highlight the correct source code when debugging.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps DefaultExpression Represents the default value of a type or an empty expression.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps DynamicExpression Represents a dynamic operation.
Public class Supported in .NET for Windows Store apps DynamicExpressionVisitor Represents a visitor or rewriter for dynamic expression trees.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ElementInit Represents an initializer for a single element of an IEnumerable collection.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps Expression 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 class Supported by Portable Class Library Supported in .NET for Windows Store apps Expression<TDelegate> Represents a strongly typed lambda expression as a data structure in the form of an expression tree. This class cannot be inherited.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ExpressionVisitor Represents a visitor or rewriter for expression trees.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps GotoExpression Represents an unconditional jump. This includes return statements, break and continue statements, and other jumps.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps IndexExpression Represents indexing a property or array.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps InvocationExpression Represents an expression that applies a delegate or lambda expression to a list of argument expressions.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps LabelExpression Represents a label, which can be put in any Expression context. If it is jumped to, it will get the value provided by the corresponding GotoExpression. Otherwise, it receives the value in DefaultValue. If the Type equals System.Void, no value should be provided.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps LabelTarget Used to represent the target of a GotoExpression.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps LambdaExpression Describes a lambda expression. This captures a block of code that is similar to a .NET method body.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ListInitExpression Represents a constructor call that has a collection initializer.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps LoopExpression Represents an infinite loop. It can be exited with "break".
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MemberAssignment Represents assignment operation for a field or property of an object.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MemberBinding Provides the base class from which the classes that represent bindings that are used to initialize members of a newly created object derive.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MemberExpression Represents accessing a field or property.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MemberInitExpression Represents calling a constructor and initializing one or more members of the new object.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MemberListBinding Represents initializing the elements of a collection member of a newly created object.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MemberMemberBinding Represents initializing members of a member of a newly created object.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MethodCallExpression Represents a call to either static or an instance method.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps NewArrayExpression Represents creating a new array and possibly initializing the elements of the new array.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps NewExpression Represents a constructor call.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ParameterExpression Represents a named parameter expression.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps RuntimeVariablesExpression An expression that provides runtime read/write permission for variables.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps SwitchCase Represents one case of a SwitchExpression.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps SwitchExpression Represents a control expression that handles multiple selections by passing control to SwitchCase.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps SymbolDocumentInfo Stores information necessary to emit debugging symbol information for a source file, in particular the file name and unique language identifier.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps TryExpression Represents a try/catch/finally/fault block.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps TypeBinaryExpression Represents an operation between an expression and a type.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps UnaryExpression Represents an expression that has a unary operator.

  Enumeration Description
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps ExpressionType Describes the node types for the nodes of an expression tree.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps GotoExpressionKind Specifies what kind of jump this GotoExpression represents.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps MemberBindingType Describes the binding types that are used in MemberInitExpression objects.
Show:
© 2014 Microsoft