Class BsonReaderBookmark
Represents a bookmark that can be used to return a reader to the current position and state.
public abstract class BsonReaderBookmark
- Inheritance
-
BsonReaderBookmark
- Derived
- Inherited Members
- Extension Methods
Constructors
BsonReaderBookmark(BsonReaderState, BsonType, string)
Initializes a new instance of the BsonReaderBookmark class.
protected BsonReaderBookmark(BsonReaderState state, BsonType currentBsonType, string currentName)
Parameters
state
BsonReaderStateThe state of the reader.
currentBsonType
BsonTypeThe current BSON type.
currentName
stringThe name of the current element.
Properties
CurrentBsonType
Gets the current BsonType;
public BsonType CurrentBsonType { get; }
Property Value
CurrentName
Gets the name of the current element.
public string CurrentName { get; }
Property Value
State
Gets the current state of the reader.
public BsonReaderState State { get; }