Method WriteStartDocument
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
IBsonWriterThe writer.
name
stringThe name of the element.