IBsonReader Interface |
Namespace: MongoDB.Bson.IO
The IBsonReader type exposes the following members.
Name | Description | |
---|---|---|
CurrentBsonType |
Gets the current BsonType.
| |
State |
Gets the current state of the reader.
|
Name | Description | |
---|---|---|
Close |
Closes the reader.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetBookmark |
Gets a bookmark to the reader's current position and state.
| |
GetCurrentBsonType |
Gets the current BsonType (calls ReadBsonType if necessary).
| |
IsAtEndOfFile |
Determines whether this reader is at end of file.
| |
ReadBinaryData |
Reads BSON binary data from the reader.
| |
ReadBoolean |
Reads a BSON boolean from the reader.
| |
ReadBsonType |
Reads a BsonType from the reader.
| |
ReadBytes |
Reads BSON binary data from the reader.
| |
ReadDateTime |
Reads a BSON DateTime from the reader.
| |
ReadDouble |
Reads a BSON Double from the reader.
| |
ReadEndArray |
Reads the end of a BSON array from the reader.
| |
ReadEndDocument |
Reads the end of a BSON document from the reader.
| |
ReadInt32 |
Reads a BSON Int32 from the reader.
| |
ReadInt64 |
Reads a BSON Int64 from the reader.
| |
ReadJavaScript |
Reads a BSON JavaScript from the reader.
| |
ReadJavaScriptWithScope |
Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope).
| |
ReadMaxKey |
Reads a BSON MaxKey from the reader.
| |
ReadMinKey |
Reads a BSON MinKey from the reader.
| |
ReadName |
Reads the name of an element from the reader (using the provided name decoder).
| |
ReadNull |
Reads a BSON null from the reader.
| |
ReadObjectId |
Reads a BSON ObjectId from the reader.
| |
ReadRawBsonArray |
Reads a raw BSON array.
| |
ReadRawBsonDocument |
Reads a raw BSON document.
| |
ReadRegularExpression |
Reads a BSON regular expression from the reader.
| |
ReadStartArray |
Reads the start of a BSON array.
| |
ReadStartDocument |
Reads the start of a BSON document.
| |
ReadString |
Reads a BSON string from the reader.
| |
ReadSymbol |
Reads a BSON symbol from the reader.
| |
ReadTimestamp |
Reads a BSON timestamp from the reader.
| |
ReadUndefined |
Reads a BSON undefined from the reader.
| |
ReturnToBookmark |
Returns the reader to previously bookmarked position and state.
| |
SkipName |
Skips the name (reader must be positioned on a name).
| |
SkipValue |
Skips the value (reader must be positioned on a value).
|
Name | Description | |
---|---|---|
FindElement |
Positions the reader to an element by name.
(Defined by IBsonReaderExtensions.) | |
FindStringElement |
Positions the reader to a string element by name.
(Defined by IBsonReaderExtensions.) | |
ReadBinaryData |
Reads a BSON binary data element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadBoolean |
Reads a BSON boolean element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadBytes |
Reads a BSON binary data element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadDateTime |
Reads a BSON DateTime element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadDouble |
Reads a BSON Double element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadInt32 |
Reads a BSON Int32 element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadInt64 |
Reads a BSON Int64 element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadJavaScript |
Reads a BSON JavaScript element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadJavaScriptWithScope |
Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope).
(Defined by IBsonReaderExtensions.) | |
ReadMaxKey |
Reads a BSON MaxKey element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadMinKey |
Reads a BSON MinKey element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadName | Overloaded.
Reads the name of an element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadName(String) | Overloaded.
Reads the name of an element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadNull |
Reads a BSON null element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadObjectId |
Reads a BSON ObjectId element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadRawBsonArray |
Reads a raw BSON array.
(Defined by IBsonReaderExtensions.) | |
ReadRawBsonDocument |
Reads a raw BSON document.
(Defined by IBsonReaderExtensions.) | |
ReadRegularExpression |
Reads a BSON regular expression element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadString |
Reads a BSON string element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadSymbol |
Reads a BSON symbol element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadTimestamp |
Reads a BSON timestamp element from the reader.
(Defined by IBsonReaderExtensions.) | |
ReadUndefined |
Reads a BSON undefined element from the reader.
(Defined by IBsonReaderExtensions.) |