Method WriteBoolean
WriteBoolean(IBsonWriter, string, bool)
Writes a BSON Boolean element to the writer.
public static void WriteBoolean(this IBsonWriter writer, string name, bool value)Parameters
- writerIBsonWriter
- The writer. 
- namestring
- The name of the element. 
- valuebool
- The Boolean value.