Expression.RuntimeVariables Method (IEnumerable<ParameterExpression>)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates an instance of RuntimeVariablesExpression.

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

public static RuntimeVariablesExpression RuntimeVariables(
	IEnumerable<ParameterExpression> variables


Type: System.Collections.Generic.IEnumerable<ParameterExpression>

A collection of ParameterExpression objects to use to populate the Variables collection.

Return Value

Type: System.Linq.Expressions.RuntimeVariablesExpression

An instance of RuntimeVariablesExpression that has the NodeType property equal to RuntimeVariables and the Variables property set to the specified value.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top