Method Serialize
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Serialize(BsonSerializationContext, BsonSerializationArgs, TValue)
Serializes a value.
public virtual void Serialize(BsonSerializationContext context, BsonSerializationArgs args, TValue value)
Parameters
context
BsonSerializationContextThe serialization context.
args
BsonSerializationArgsThe serialization args.
value
TValueThe value.