Constructor ObjectIdSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
ObjectIdSerializer()
Initializes a new instance of the ObjectIdSerializer class.
public ObjectIdSerializer()
ObjectIdSerializer(BsonType)
Initializes a new instance of the ObjectIdSerializer class.
public ObjectIdSerializer(BsonType representation)
Parameters
representation
BsonTypeThe representation.