BsonReaderState Enumeration |
Represents the state of a reader.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public enum BsonReaderState
Public Enumeration BsonReaderState
Members
| Member name | Value | Description |
---|
| Initial | 0 |
The initial state.
|
| Type | 1 |
The reader is positioned at the type of an element or value.
|
| Name | 2 |
The reader is positioned at the name of an element.
|
| Value | 3 |
The reader is positioned at a value.
|
| ScopeDocument | 4 |
The reader is positioned at a scope document.
|
| EndOfDocument | 5 |
The reader is positioned at the end of a document.
|
| EndOfArray | 6 |
The reader is positioned at the end of an array.
|
| Done | 7 |
The reader has finished reading a document.
|
| Closed | 8 |
The reader is closed.
|
See Also