Compile Method
Collapse the table of content
Expand the table of content

LambdaExpression.Compile Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Produces a delegate that represents the lambda expression.

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

public Delegate Compile()

Return Value

Type: System.Delegate
A Delegate that contains the compiled version of the lambda expression.

The Compile method can be used to convert a LambdaExpression expression tree into the delegate that it represents.

Version Notes

Windows Phone

 LambdaExpression.Compile is not supported in Windows Phone SDK.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft