BsonRepresentationAttributeApply 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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax protected override IBsonSerializer Apply(
IBsonSerializer serializer
)
Protected Overrides 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.
See Also