Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
|SetOutput(Stream, Encoding, Boolean)|
The XmlDictionaryWriter objects created by the CreateJsonWriter methods implement this interface and when created are immediately ready to write JSON-encoded data. But if a user wants to reuse the same XmlDictionaryWriter object to write a new JSON document to another output stream, then the writer must be initialized to the appropriate stream by using the SetOutput(Stream, Encoding, Boolean) method.
Available since 3.5