Table of Contents

Method ReadJavaScript

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

ReadJavaScript(IBsonReader, string)

Reads a BSON JavaScript element from the reader.

public static string ReadJavaScript(this IBsonReader reader, string name)

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

string

A string.