Table of Contents

Method Serialize

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

Serialize(BsonSerializationContext, BsonSerializationArgs, TClass)

Serializes a value.

public override void Serialize(BsonSerializationContext context, BsonSerializationArgs args, TClass value)

Parameters

context BsonSerializationContext

The serialization context.

args BsonSerializationArgs

The serialization args.

value TClass

The object.