Enum ContextType
Used by BsonReaders and BsonWriters to represent the current context.
public enum ContextType- Extension Methods
Fields
- 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.