Used by BsonReaders and BsonWriters to represent the current context.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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