CloseOutput Property

Json.NET

Json.NET - Quick Starts & API Documentation CloseOutput Property
NamespacesNewtonsoft.JsonJsonWriterCloseOutput
Gets or sets a value indicating whether the underlying stream or TextReader should be closed when the writer is closed.
Declaration Syntax
C# Visual Basic Visual C++
public bool CloseOutput { get; set; }
Public Property CloseOutput As Boolean
	Get
	Set
public:
property bool CloseOutput {
	bool get ();
	void set (bool value);
}
Value
true to close the underlying stream or TextReader when the writer is closed; otherwise false. The default is true.

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