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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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