BsonSerializationOptionsAttributeApply Method (IBsonSerializer) |
Reconfigures the specified serializer by applying this attribute to it.
Namespace: MongoDB.Bson.Serialization.AttributesAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.2.0
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