BsonWriterState Enumeration |
Represents the state of a BsonWriter.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public enum BsonWriterState
Public Enumeration BsonWriterState
Members
| Member name | Value | Description |
---|
| 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.
|
See Also