BsonReader Constructor (reader, readRootValueAsArray, dateTimeKindHandling)

Json.NET

Json.NET - Quick Starts & API Documentation BsonReader Constructor (reader, readRootValueAsArray, dateTimeKindHandling)
NamespacesNewtonsoft.Json.BsonBsonReaderBsonReader(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.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)