QueryableAttribute.ResultLimit Property

The maximum number of results that should be returned from this query regardless of query-specified limits.

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

Syntax

'Declaration

Public Property ResultLimit As Integer
    Get
    Set
'Usage

Dim instance As QueryableAttribute
Dim value As Integer

value = instance.ResultLimit

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

Property Value

Type: System.Int32
The maximum number of results that should be returned. A value of zero indicates no limit.

Remarks

Negative values are not supported.

See Also

Reference

QueryableAttribute Class

System.Web.Http Namespace