Expression.Lambda Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Creates an expression tree that represents a lambda expression.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Lambda(Expression, IEnumerable<ParameterExpression>) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic memberSupported by Silverlight for Windows Phone Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>) Creates an Expression<TDelegate> where the delegate type is known at compile time.
Public methodStatic memberSupported by Silverlight for Windows Phone Lambda(Expression, array<ParameterExpression[]) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic memberSupported by Silverlight for Windows Phone Lambda<TDelegate>(Expression, array<ParameterExpression[]) Creates an Expression<TDelegate> where the delegate type is known at compile time.
Public methodStatic member Lambda(Expression, Boolean, IEnumerable<ParameterExpression>) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic member Lambda<TDelegate>(Expression, Boolean, IEnumerable<ParameterExpression>) Creates an Expression<TDelegate> where the delegate type is known at compile time.
Public methodStatic member Lambda<TDelegate>(Expression, Boolean, array<ParameterExpression[]) Creates an Expression<TDelegate> where the delegate type is known at compile time.
Public methodStatic member Lambda(Expression, Boolean, array<ParameterExpression[]) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic member Lambda<TDelegate>(Expression, String, IEnumerable<ParameterExpression>) Creates an Expression<TDelegate> where the delegate type is known at compile time.
Public methodStatic member Lambda(Expression, String, IEnumerable<ParameterExpression>) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic memberSupported by Silverlight for Windows Phone Lambda(Type, Expression, IEnumerable<ParameterExpression>) Creates a LambdaExpression by first constructing a delegate type. It can be used when the delegate type is not known at compile time.
Public methodStatic memberSupported by Silverlight for Windows Phone Lambda(Type, Expression, array<ParameterExpression[]) Creates a LambdaExpression by first constructing a delegate type. It can be used when the delegate type is not known at compile time.
Public methodStatic member Lambda<TDelegate>(Expression, String, Boolean, IEnumerable<ParameterExpression>) Creates an Expression<TDelegate> where the delegate type is known at compile time.
Public methodStatic member Lambda(Expression, String, Boolean, IEnumerable<ParameterExpression>) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic member Lambda(Type, Expression, Boolean, IEnumerable<ParameterExpression>) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic member Lambda(Type, Expression, Boolean, array<ParameterExpression[]) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic member Lambda(Type, Expression, String, IEnumerable<ParameterExpression>) Creates a LambdaExpression by first constructing a delegate type.
Public methodStatic member Lambda(Type, Expression, String, Boolean, IEnumerable<ParameterExpression>) Creates a LambdaExpression by first constructing a delegate type.

Top