Table of Contents

Method SetSerializer

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

SetSerializer(IBsonSerializer)

Sets the serializer.

public virtual MongoCursor SetSerializer(IBsonSerializer serializer)

Parameters

serializer IBsonSerializer

The serializer.

Returns

MongoCursor

The cursor (so you can chain method calls to it).