Table of Contents

Method ReadJavaScriptWithScope

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

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 IBsonReader

The reader.

name string

The name of the element.

Returns

string

A string.