BsonSerializationOptionsAttributeApply Method (IBsonSerializer) |
Reconfigures the specified serializer by applying this attribute to it.
Namespace:
MongoDB.Bson.Serialization.Attributes
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax protected virtual IBsonSerializer Apply(
IBsonSerializer serializer
)
Protected Overridable Function Apply (
serializer As IBsonSerializer
) As IBsonSerializer
abstract Apply :
serializer : IBsonSerializer -> IBsonSerializer
override Apply :
serializer : IBsonSerializer -> IBsonSerializer
Parameters
- serializer
- Type: MongoDB.Bson.SerializationIBsonSerializer
The serializer.
Return Value
Type:
IBsonSerializerA reconfigured serializer.
Exceptions See Also