Table of Contents

Method Serialize

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

Serialize(BsonSerializationContext, BsonSerializationArgs, KeyValuePair<TKey, TValue>)

Serializes a value.

public override void Serialize(BsonSerializationContext context, BsonSerializationArgs args, KeyValuePair<TKey, TValue> value)

Parameters

context BsonSerializationContext

The serialization context.

args BsonSerializationArgs

The serialization args.

value KeyValuePair<TKey, TValue>

The object.