Method Serialize
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Serialize(BsonSerializationContext, BsonSerializationArgs, DateTimeOffset)
Serializes a value.
public override void Serialize(BsonSerializationContext context, BsonSerializationArgs args, DateTimeOffset value)
Parameters
context
BsonSerializationContextThe serialization context.
args
BsonSerializationArgsThe serialization args.
value
DateTimeOffsetThe object.