Expression.Lambda Method

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.

  NameDescription
Public method Static member Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>) Creates an Expression<TDelegate> where the delegate type is known at compile time.
Public method Static member Lambda(Expression, ParameterExpression[]) Creates a LambdaExpression by first constructing a delegate type.
Public method Static member Lambda<TDelegate>(Expression, ParameterExpression[]) Creates an Expression<TDelegate> where the delegate type is known at compile time.
Public method Static member Lambda(Type, Expression, IEnumerable<ParameterExpression>) Creates a LambdaExpression and can be used when the delegate type is not known at compile time.
Public method Static member Lambda(Type, Expression, ParameterExpression[]) Creates a LambdaExpression and can be used when the delegate type is not known at compile time.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft