BsonSerializerRegistryRegisterSerializationProvider Method |
Registers the serialization provider. This behaves like a stack, so the
last provider registered is the first provider consulted.
Namespace: MongoDB.Bson.SerializationAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.3.0
Syntax public void RegisterSerializationProvider(
IBsonSerializationProvider serializationProvider
)
Public Sub RegisterSerializationProvider (
serializationProvider As IBsonSerializationProvider
)
member RegisterSerializationProvider :
serializationProvider : IBsonSerializationProvider -> unit
Parameters
- serializationProvider
- Type: MongoDB.Bson.SerializationIBsonSerializationProvider
The serialization provider.
See Also