Table of Contents

Method ReadString

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

ReadString(IBsonReader, string)

Reads a BSON string element from the reader.

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

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

string

A String.