Table of Contents

Method FindStringElement

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

FindStringElement(IBsonReader, string)

Positions the reader to a string element by name.

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

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

string

True if the element was found.