Share via


FilterQueryOption.ApplyTo Method (IQueryable, ODataQuerySettings)

Applies the filter query to the given IQueryable.

Namespace:  System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Function ApplyTo ( _
    query As IQueryable, _
    querySettings As ODataQuerySettings _
) As IQueryable
'Usage
Dim instance As FilterQueryOption 
Dim query As IQueryable 
Dim querySettings As ODataQuerySettings 
Dim returnValue As IQueryable 

returnValue = instance.ApplyTo(query, _
    querySettings)
public IQueryable ApplyTo(
    IQueryable query,
    ODataQuerySettings querySettings
)
public:
IQueryable^ ApplyTo(
    IQueryable^ query, 
    ODataQuerySettings^ querySettings
)
member ApplyTo : 
        query:IQueryable * 
        querySettings:ODataQuerySettings -> IQueryable
public function ApplyTo(
    query : IQueryable, 
    querySettings : ODataQuerySettings
) : IQueryable

Parameters

Return Value

Type: System.Linq.IQueryable
The new IQueryable after the filter query has been applied.

See Also

Reference

FilterQueryOption Class

ApplyTo Overload

System.Web.Http.OData.Query Namespace