Click or drag to resize

IBsonSerializerSerialize 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
void Serialize(
	BsonSerializationContext context,
	BsonSerializationArgs args,
	Object value
)

Parameters

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