Json.NET - Quick Starts & API Documentation
BsonReader Constructor (stream, readRootValueAsArray, dateTimeKindHandling)
Namespaces ► Newtonsoft.Json.Bson ► BsonReader ► BsonReader(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.