Click or drag to resize

BsonReaderState Enumeration

Represents the state of a reader.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public enum BsonReaderState
Members
  Member nameValueDescription
Initial0 The initial state.
Type1 The reader is positioned at the type of an element or value.
Name2 The reader is positioned at the name of an element.
Value3 The reader is positioned at a value.
ScopeDocument4 The reader is positioned at a scope document.
EndOfDocument5 The reader is positioned at the end of a document.
EndOfArray6 The reader is positioned at the end of an array.
Done7 The reader has finished reading a document.
Closed8 The reader is closed.
See Also