Click or drag to resize
BsonDateTimeSerializerSerializeValue Method
Serializes a value.

Namespace: MongoDB.Bson.Serialization.Serializers
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.4.1
Syntax
protected override void SerializeValue(
	BsonSerializationContext context,
	BsonSerializationArgs args,
	BsonDateTime value
)

Parameters

context
Type: MongoDB.Bson.SerializationBsonSerializationContext
The serialization context.
args
Type: MongoDB.Bson.SerializationBsonSerializationArgs
The serialization args.
value
Type: MongoDB.BsonBsonDateTime
The object.
See Also