Used by BsonReaders and BsonWriters to represent the current context.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax Public Enumeration ContextType
Members
| Member name | Value | Description |
---|
| TopLevel | 0 |
The top level of a BSON document.
|
| Document | 1 |
A (possibly embedded) BSON document.
|
| Array | 2 |
A BSON array.
|
| JavaScriptWithScope | 3 |
A JavaScriptWithScope BSON value.
|
| ScopeDocument | 4 |
The scope document of a JavaScriptWithScope BSON value.
|
See Also