Click or drag to resize

BsonWriterState Enumeration

Represents the state of a BsonWriter.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public enum BsonWriterState
Members
  Member nameValueDescription
Initial0 The initial state.
Name1 The writer is positioned to write a name.
Value2 The writer is positioned to write a value.
ScopeDocument3 The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document).
Done4 The writer is done.
Closed5 The writer is closed.
See Also