EnumerableQuery<T>.IQueryProvider.CreateQuery<S> Method (Expression)


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

Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable<T> collection of data.

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

IQueryable<S> IQueryProvider.CreateQuery<TElement><S>(
	Expression expression


Type: System.Linq.Expressions.Expression

An expression tree to execute.

Return Value

Type: System.Linq.IQueryable<S>

An EnumerableQuery object that is associated with expression.

Type Parameters


The type of the data in the collection that expression represents.

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