Table of Contents

Class BsonReaderSettings

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

Represents settings for a BsonReader.

[Serializable]
public abstract class BsonReaderSettings
Inheritance
BsonReaderSettings
Derived
Inherited Members
Extension Methods

Constructors

BsonReaderSettings()

Initializes a new instance of the BsonReaderSettings class.

BsonReaderSettings(GuidRepresentation)

Initializes a new instance of the BsonReaderSettings class.

Properties

GuidRepresentation

Gets or sets the representation for Guids.

IsFrozen

Gets whether the settings are frozen.

Methods

Clone()

Creates a clone of the settings.

CloneImplementation()

Creates a clone of the settings.

Freeze()

Freezes the settings.

FrozenCopy()

Returns a frozen copy of the settings.

ThrowFrozenException()

Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen.