Table of Contents

Method ReadName

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

ReadName(IBsonReader)

Reads the name of an element from the reader.

public static string ReadName(this IBsonReader reader)

Parameters

reader IBsonReader

The reader.

Returns

string

The name of the element.

ReadName(IBsonReader, string)

Reads the name of an element from the reader.

public static void ReadName(this IBsonReader reader, string name)

Parameters

reader IBsonReader

The reader.

name string

The name of the element.