Table of Contents

Enum BsonWriterState

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

Represents the state of a BsonWriter.

public enum BsonWriterState
Extension Methods

Fields

Initial = 0

The initial state.

Name = 1

The writer is positioned to write a name.

Value = 2

The writer is positioned to write a value.

ScopeDocument = 3

The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document).

Done = 4

The writer is done.

Closed = 5

The writer is closed.