編輯

共用方式為


MethodExpression.GetQueryable(IQueryable) Method

Definition

Resolves the expression by using the specified IQueryable object.

public:
 override System::Linq::IQueryable ^ GetQueryable(System::Linq::IQueryable ^ source);
public override System.Linq.IQueryable GetQueryable (System.Linq.IQueryable source);
override this.GetQueryable : System.Linq.IQueryable -> System.Linq.IQueryable
Public Overrides Function GetQueryable (source As IQueryable) As IQueryable

Parameters

source
IQueryable

The data source control to use.

Returns

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

Exceptions

The data source control is null.

The method was not found.

-or-

The method is not static.

-or-

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

Applies to