Method ReadName
ReadName(IBsonReader)
Reads the name of an element from the reader.
public static string ReadName(this IBsonReader reader)
Parameters
readerIBsonReaderThe reader.
Returns
- string
The name of the element.
ReadName(IBsonReader, string)
Reads the name of an element from the reader.
public static void ReadName(this IBsonReader reader, string name)
Parameters
readerIBsonReaderThe reader.
namestringThe name of the element.