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