| BsonReader Constructor (Stream, Boolean, DateTimeKind) |
Initializes a new instance of the
BsonReader class.
Namespace:
Newtonsoft.Json.Bson
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public BsonReader(
Stream stream,
bool readRootValueAsArray,
DateTimeKind dateTimeKindHandling
)
Parameters
- stream
- Type: System.IOStream
The Stream containing the BSON data to read. - readRootValueAsArray
- Type: SystemBoolean
if set to true the root object will be read as a JSON array. - dateTimeKindHandling
- Type: SystemDateTimeKind
The DateTimeKind used when reading DateTime values from BSON.
See Also