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
- readerIBsonReader
- The reader. 
- namestring
- The name of the element. 
Returns
- string
- A string.