Method ReadJavaScriptWithScope
ReadJavaScriptWithScope(IBsonReader, string)
Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope).
public static string ReadJavaScriptWithScope(this IBsonReader reader, string name)
Parameters
reader
IBsonReaderThe reader.
name
stringThe name of the element.
Returns
- string
A string.