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
writerIBsonWriterThe writer.
namestringThe name of the element.
valueboolThe Boolean value.