Limit the number of the returned documents to the specified number
Namespace: Couchbase.ViewsAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic IViewQuery Limit(
int limit
)
public IViewQuery Limit(
int limit
)
Public Function Limit (
limit As Integer
) As IViewQuery
Public Function Limit (
limit As Integer
) As IViewQuery
public:
virtual IViewQuery^ Limit(
int limit
) sealed
public:
virtual IViewQuery^ Limit(
int limit
) sealed
abstract Limit :
limit : int -> IViewQuery
override Limit :
limit : int -> IViewQuery
abstract Limit :
limit : int -> IViewQuery
override Limit :
limit : int -> IViewQuery
Parameters
- limit
- Type: System.Int32
The numeric limit
Return Value
Type:
IViewQueryAn IViewQuery object for chaining
Implements
IViewQuery.Limit(Int32)
See Also