Click or drag to resize
MongoCursor<TDocument> Constructor (MongoCollection, IMongoQuery, ReadConcern, ReadPreference, IBsonSerializer)

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.2.0
Syntax
public MongoCursor(
	MongoCollection collection,
	IMongoQuery query,
	ReadConcern readConcern,
	ReadPreference readPreference,
	IBsonSerializer serializer
)

Parameters

collection
Type: MongoDB.Driver.MongoCollection
The collection.
query
Type: MongoDB.Driver.IMongoQuery
The query.
readConcern
Type: MongoDB.Driver.ReadConcern
The read concern.
readPreference
Type: MongoDB.Driver.ReadPreference
The read preference.
serializer
Type: MongoDB.Bson.Serialization.IBsonSerializer
The serializer.
See Also