Click or drag to resize

MongoDBRefSerializerSerializeValue Method

Serializes a value.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
protected override void SerializeValue(
	BsonSerializationContext context,
	BsonSerializationArgs args,
	MongoDBRef value
)

Parameters

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