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
writer
IBsonWriterThe writer.
name
stringThe name of the element.
value
boolThe Boolean value.