MethodExpression::GetQueryable Method (IQueryable^)

.NET Framework (current version)
 

Resolves the expression by using the specified IQueryable object.

Namespace:   System.Web.UI.WebControls.Expressions
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
virtual IQueryable^ GetQueryable(
	IQueryable^ source
) override

Parameters

source
Type: System.Linq::IQueryable^

The data source control to use.

Return Value

Type: System.Linq::IQueryable^

An instance of the IQueryable object that was used to resolve the expression.

Exception Condition
ArgumentNullException

The data source control is null.

InvalidOperationException

The method was not found.

-or-

The method is not static.

-or-

The type of the passed IQuerable<T> object was changed.

.NET Framework
Available since 4.0
Return to top
Show: