BsonReader Constructor (stream, readRootValueAsArray, dateTimeKindHandling)

Json.NET

Json.NET - Quick Starts & API Documentation BsonReader Constructor (stream, readRootValueAsArray, dateTimeKindHandling)
NamespacesNewtonsoft.Json.BsonBsonReaderBsonReader(Stream, Boolean, DateTimeKind)
Initializes a new instance of the BsonReader class.
Declaration Syntax
C# Visual Basic Visual C++
public BsonReader(
	Stream stream,
	bool readRootValueAsArray,
	DateTimeKind dateTimeKindHandling
)
Public Sub New ( _
	stream As Stream, _
	readRootValueAsArray As Boolean, _
	dateTimeKindHandling As DateTimeKind _
)
public:
BsonReader(
	Stream^ stream, 
	bool readRootValueAsArray, 
	DateTimeKind dateTimeKindHandling
)
Parameters
stream (Stream)
The stream.
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)