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