Click or drag to resize

BsonDocumentBackedClassSerializerTClassSerializeValue Method

Serializes a value.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
protected override void SerializeValue(
	BsonSerializationContext context,
	BsonSerializationArgs args,
	TClass value
)

Parameters

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