BsonObjectIdSerializer Class |
Namespace: MongoDB.Bson.Serialization.Serializers
The BsonObjectIdSerializer type exposes the following members.
| Name | Description | |
|---|---|---|
| BsonObjectIdSerializer |
Initializes a new instance of the BsonObjectIdSerializer class.
|
| Name | Description | |
|---|---|---|
| Instance |
Gets an instance of the BsonObjectIdSerializer class.
| |
| ValueType |
Gets the type of the values.
(Inherited from SerializerBaseTValue.) |
| Name | Description | |
|---|---|---|
| ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
| ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
| ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |