Method SetSerializer
SetSerializer(IBsonSerializer<TDocument>)
Sets the serializer.
public virtual MongoCursor<TDocument> SetSerializer(IBsonSerializer<TDocument> serializer)
Parameters
serializer
IBsonSerializer<TDocument>The serializer.
Returns
- MongoCursor<TDocument>
The cursor (so you can chain method calls to it).