Freigeben über


TopQueryOption Constructor (String, ODataQueryContext)

 

Initialize a new instance of TopQueryOption based on the raw $top value and an EdmModel from ODataQueryContext.

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

Syntax

public TopQueryOption(
    string rawValue,
    ODataQueryContext context
)
public:
TopQueryOption(
    String^ rawValue,
    ODataQueryContext^ context
)
new : 
        rawValue:string *
        context:ODataQueryContext -> TopQueryOption
Public Sub New (
    rawValue As String,
    context As ODataQueryContext
)

Parameters

  • rawValue
    Type: System.String

    The raw value for $top query. It can be null or empty.

See Also

TopQueryOption Class
System.Web.Http.OData.Query Namespace

Return to top