Table of Contents

Method ReadName

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

ReadName()

Reads the name of an element from the reader.

public virtual string ReadName()

Returns

string

The name of the element.

ReadName(INameDecoder)

Reads the name of an element from the reader (using the provided name decoder).

public abstract string ReadName(INameDecoder nameDecoder)

Parameters

nameDecoder INameDecoder

The name decoder.

Returns

string

The name of the element.