.NET Framework Class Library
LambdaExpression Class

Describes a lambda expression.

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

Visual Basic (Declaration)
Public Class LambdaExpression _
    Inherits Expression
Visual Basic (Usage)
Dim instance As LambdaExpression
C#
public class LambdaExpression : Expression
Visual C++
public ref class LambdaExpression : public Expression
JScript
public class LambdaExpression extends Expression
Remarks

The LambdaExpression type represents a lambda expression in the form of an expression tree. The Expression<(Of <(TDelegate>)>) type, which derives from LambdaExpression and captures the type of the lambda expression more explicitly, can also be used to represent a lambda expression. At runtime, an expression tree node that represents a lambda expression is always of type Expression<(Of <(TDelegate>)>).

The value of the NodeType property of a LambdaExpression is Lambda.

Use the Lambda factory methods to create a LambdaExpression object.

Inheritance Hierarchy

System..::.Object
  System.Linq.Expressions..::.Expression
    System.Linq.Expressions..::.LambdaExpression
      System.Linq.Expressions..::.Expression<(Of <(TDelegate>)>)
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

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.
Version Information

.NET Framework

Supported in: 3.5
See Also

Reference

Tags :


Page view tracker