JsonReaderSettings Constructor (Boolean, GuidRepresentation)MongoDB C# Driver API Documentation

Note: This API is now obsolete.

Initializes a new instance of the JsonReaderSettings class.

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: { version: '1.11.0.92', semver: '1.11.0', commit: '791a16588d4a8b3b118a8b3b57cfa436fec5d3da', commitDate: '2015-12-08 22:55:45' }
Syntax

[ObsoleteAttribute("Use the no-argument constructor instead and set the properties.")]
public JsonReaderSettings(
	bool closeInput,
	GuidRepresentation guidRepresentation
)

Parameters

closeInput
Type: SystemBoolean
Whether to close the input stream when the reader is closed.
guidRepresentation
Type: MongoDB.BsonGuidRepresentation
The representation for Guids.
See Also

Reference