IQueryProvider.Execute(S) Method (Expression)
Collapse the table of content
Expand the table of content

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


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

Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

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

S IQueryProvider.Execute<TResult><S>(
	Expression expression


Type: System.Linq.Expressions.Expression

An expression tree to execute.

Return Value

Type: S

The value that results from executing 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
© 2016 Microsoft