Returns the size of the result set (honors Skip and Limit, unlike Count which does not).
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public virtual long Size()
Public Overridable Function Size As Long
abstract Size : unit -> int64
override Size : unit -> int64
Return Value
Type:
Int64The size of the result set.
See Also