Method ReadBoolean
ReadBoolean(IBsonReader, string)
Reads a BSON boolean element from the reader.
public static bool ReadBoolean(this IBsonReader reader, string name)
Parameters
reader
IBsonReaderThe reader.
name
stringThe name of the element.
Returns
- bool
A Boolean.