Share via


SelectExpandQueryOption.ApplyTo Method (Object, ODataQuerySettings)

Applies the select and expand query options to the given entity using the given ODataQuerySettings.

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

Syntax

'Declaration
Public Function ApplyTo ( _
    entity As Object, _
    settings As ODataQuerySettings _
) As Object
'Usage
Dim instance As SelectExpandQueryOption 
Dim entity As Object 
Dim settings As ODataQuerySettings 
Dim returnValue As Object 

returnValue = instance.ApplyTo(entity, _
    settings)
public Object ApplyTo(
    Object entity,
    ODataQuerySettings settings
)
public:
Object^ ApplyTo(
    Object^ entity, 
    ODataQuerySettings^ settings
)
member ApplyTo : 
        entity:Object * 
        settings:ODataQuerySettings -> Object
public function ApplyTo(
    entity : Object, 
    settings : ODataQuerySettings
) : Object

Parameters

Return Value

Type: System.Object
The new entity after the select and expand query has been applied to.

See Also

Reference

SelectExpandQueryOption Class

ApplyTo Overload

System.Web.Http.OData.Query Namespace