Click or drag to resize

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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
protected virtual IBsonSerializer Apply(
	IBsonSerializer serializer
)

Parameters

serializer
Type: MongoDB.Bson.SerializationIBsonSerializer
The serializer.

Return Value

Type: IBsonSerializer
A reconfigured serializer.
Exceptions
ExceptionCondition
NotSupportedException
See Also