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)

private:
generic<typename S>
virtual IQueryable<S>^ CreateQuery(
	Expression^ expression
) sealed = IQueryProvider::CreateQuery<TElement>

Parameters

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

S

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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1
Return to top
Show: