Method Serialize

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.Serializers

Assembly

MongoDB.Bson.dll

Serialize(BsonSerializationContext, BsonSerializationArgs, TDocument)

Serializes a value.

public void Serialize(BsonSerializationContext context, BsonSerializationArgs args, TDocument value)

Parameters

context BsonSerializationContext

The serialization context.

args BsonSerializationArgs

The serialization args.

value TDocument

The value.