Share via


ODataValidationSettings.MaxTop Property

Gets or sets the max value of $top that a client can request.

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

Syntax

'Declaration
Public Property MaxTop As Nullable(Of Integer)
    Get 
    Set
'Usage
Dim instance As ODataValidationSettings 
Dim value As Nullable(Of Integer)

value = instance.MaxTop

instance.MaxTop = value
public Nullable<int> MaxTop { get; set; }
public:
property Nullable<int> MaxTop {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
member MaxTop : Nullable<int> with get, set
function get MaxTop () : Nullable<int>
function set MaxTop (value : Nullable<int>)

Property Value

Type: System.Nullable<Int32>
The max value of $top that a client can request.

See Also

Reference

ODataValidationSettings Class

System.Web.Http.OData.Query Namespace