BsonTimeSpanOptionsAttributeApply 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.1.0
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