Json.NET - Quick Starts & API Documentation
BsonReader Constructor (reader, readRootValueAsArray, dateTimeKindHandling)
Namespaces ► Newtonsoft.Json.Bson ► BsonReader ► BsonReader(BinaryReader, Boolean, DateTimeKind)
Initializes a new instance of the BsonReader class.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public BsonReader( BinaryReader reader, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling )
Public Sub New ( _ reader As BinaryReader, _ readRootValueAsArray As Boolean, _ dateTimeKindHandling As DateTimeKind _ )
public: BsonReader( BinaryReader^ reader, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling )
Parameters
- reader (BinaryReader)
- The reader.
- readRootValueAsArray (Boolean)
- if set to true the root object will be read as a JSON array.
- dateTimeKindHandling (DateTimeKind)
- The DateTimeKind used when reading DateTime values from BSON.