ContextType Enumeration (original) (raw)
Used by BsonReaders and BsonWriters to represent the current context.
Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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