Click or drag to resize
MongoDBRefSerializerSerializeValue Method
Serializes a value.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
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