Table of Contents

Method WriteStartDocument

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

WriteStartDocument(IBsonWriter, string)

Writes the start of a BSON document element to the writer.

public static void WriteStartDocument(this IBsonWriter writer, string name)

Parameters

writer IBsonWriter

The writer.

name string

The name of the element.