Table of Contents

Method FindElement

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

FindElement(IBsonReader, string)

Positions the reader to an element by name.

public static bool FindElement(this IBsonReader reader, string name)

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

bool

True if the element was found.