Method ReadName
ReadName(IBsonReader)
Reads the name of an element from the reader.
public static string ReadName(this IBsonReader reader)
Parameters
reader
IBsonReaderThe 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
reader
IBsonReaderThe reader.
name
stringThe name of the element.