Table of Contents

Class IBsonReaderExtensions

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

Contains extensions methods for IBsonReader.

public static class IBsonReaderExtensions
Inheritance
IBsonReaderExtensions
Inherited Members

Methods

FindElement(IBsonReader, string)

Positions the reader to an element by name.

FindStringElement(IBsonReader, string)

Positions the reader to a string element by name.

ReadBinaryData(IBsonReader, string)

Reads a BSON binary data element from the reader.

ReadBinaryDataWithGuidRepresentationUnspecified(IBsonReader)

Reads a BSON binary data element from the reader temporarily setting the GuidRepresentation to Unspecified.

ReadBoolean(IBsonReader, string)

Reads a BSON boolean element from the reader.

ReadBytes(IBsonReader, string)

Reads a BSON binary data element from the reader.

ReadDateTime(IBsonReader, string)

Reads a BSON DateTime element from the reader.

ReadDecimal128(IBsonReader, string)

Reads a BSON Decimal128 element from the reader.

ReadDouble(IBsonReader, string)

Reads a BSON Double element from the reader.

ReadInt32(IBsonReader, string)

Reads a BSON Int32 element from the reader.

ReadInt64(IBsonReader, string)

Reads a BSON Int64 element from the reader.

ReadJavaScript(IBsonReader, string)

Reads a BSON JavaScript element from the reader.

ReadJavaScriptWithScope(IBsonReader, string)

Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope).

ReadMaxKey(IBsonReader, string)

Reads a BSON MaxKey element from the reader.

ReadMinKey(IBsonReader, string)

Reads a BSON MinKey element from the reader.

ReadName(IBsonReader)

Reads the name of an element from the reader.

ReadName(IBsonReader, string)

Reads the name of an element from the reader.

ReadNull(IBsonReader, string)

Reads a BSON null element from the reader.

ReadObjectId(IBsonReader, string)

Reads a BSON ObjectId element from the reader.

ReadRawBsonArray(IBsonReader, string)

Reads a raw BSON array.

ReadRawBsonDocument(IBsonReader, string)

Reads a raw BSON document.

ReadRegularExpression(IBsonReader, string)

Reads a BSON regular expression element from the reader.

ReadString(IBsonReader, string)

Reads a BSON string element from the reader.

ReadSymbol(IBsonReader, string)

Reads a BSON symbol element from the reader.

ReadTimestamp(IBsonReader, string)

Reads a BSON timestamp element from the reader.

ReadUndefined(IBsonReader, string)

Reads a BSON undefined element from the reader.