1 out of 3 rated this helpful - Rate this topic

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 classSupported by Portable Class LibrarySupported in .NET for Windows Store appsBinaryExpressionRepresents an expression that has a binary operator.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsBlockExpressionRepresents a block that contains a sequence of expressions where variables can be defined.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsCatchBlockRepresents a catch statement in a try block.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsConditionalExpressionRepresents an expression that has a conditional operator.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsConstantExpressionRepresents an expression that has a constant value.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsDebugInfoExpressionEmits or clears a sequence point for debug information. This allows the debugger to highlight the correct source code when debugging.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsDefaultExpressionRepresents the default value of a type or an empty expression.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsDynamicExpressionRepresents a dynamic operation.
Public classSupported in .NET for Windows Store appsDynamicExpressionVisitorRepresents a visitor or rewriter for dynamic expression trees.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsElementInitRepresents an initializer for a single element of an IEnumerable collection.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsExpressionProvides 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 classSupported by Portable Class LibrarySupported in .NET for Windows Store appsExpression<TDelegate>Represents a strongly typed lambda expression as a data structure in the form of an expression tree. This class cannot be inherited.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsExpressionVisitorRepresents a visitor or rewriter for expression trees.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsGotoExpressionRepresents an unconditional jump. This includes return statements, break and continue statements, and other jumps.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsIndexExpressionRepresents indexing a property or array.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsInvocationExpressionRepresents an expression that applies a delegate or lambda expression to a list of argument expressions.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsLabelExpressionRepresents 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 classSupported by Portable Class LibrarySupported in .NET for Windows Store appsLabelTargetUsed to represent the target of a GotoExpression.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsLambdaExpressionDescribes a lambda expression. This captures a block of code that is similar to a .NET method body.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsListInitExpressionRepresents a constructor call that has a collection initializer.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsLoopExpressionRepresents an infinite loop. It can be exited with "break".
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberAssignmentRepresents assignment operation for a field or property of an object.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberBindingProvides the base class from which the classes that represent bindings that are used to initialize members of a newly created object derive.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberExpressionRepresents accessing a field or property.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberInitExpressionRepresents calling a constructor and initializing one or more members of the new object.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberListBindingRepresents initializing the elements of a collection member of a newly created object.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberMemberBindingRepresents initializing members of a member of a newly created object.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMethodCallExpressionRepresents a call to either static or an instance method.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsNewArrayExpressionRepresents creating a new array and possibly initializing the elements of the new array.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsNewExpressionRepresents a constructor call.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsParameterExpressionRepresents a named parameter expression.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsRuntimeVariablesExpressionAn expression that provides runtime read/write permission for variables.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsSwitchCaseRepresents one case of a SwitchExpression.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsSwitchExpressionRepresents a control expression that handles multiple selections by passing control to SwitchCase.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsSymbolDocumentInfoStores information necessary to emit debugging symbol information for a source file, in particular the file name and unique language identifier.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsTryExpressionRepresents a try/catch/finally/fault block.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsTypeBinaryExpressionRepresents an operation between an expression and a type.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsUnaryExpressionRepresents an expression that has a unary operator.
  EnumerationDescription
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsExpressionTypeDescribes the node types for the nodes of an expression tree.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsGotoExpressionKindSpecifies what kind of jump this GotoExpression represents.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberBindingTypeDescribes the binding types that are used in MemberInitExpression objects.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.