Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsolateExpression Method
Collapse the table of content
Expand the table of content

ExecutionScope.IsolateExpression Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Frees a specified expression tree of external parameter references by replacing the parameter with its current value.

Namespace:  System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

public Expression IsolateExpression(
	Expression expression,
	Object[] locals
)

Parameters

expression
Type: System.Linq.Expressions.Expression
An expression tree to free of external parameter references.
locals
Type: System.Object[]
An array that contains the hoisted local variables.

Return Value

Type: System.Linq.Expressions.Expression
An expression tree that does not contain external parameter references.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft