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
- writerIBsonWriter
- The writer. 
- namestring
- The name of the element.