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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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