Click or drag to resize
MongoCursorTDocument 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.DriverMongoCollection
The collection.
query
Type: MongoDB.DriverIMongoQuery
The query.
readConcern
Type: MongoDB.DriverReadConcern
The read concern.
readPreference
Type: MongoDB.DriverReadPreference
The read preference.
serializer
Type: MongoDB.Bson.SerializationIBsonSerializer
The serializer.
See Also