Edit

Share via


IXmlBinaryWriterInitializer.SetOutput Method

Definition

Specifies initialization requirements for XML binary writers that implement this method.

public:
 void SetOutput(System::IO::Stream ^ stream, System::Xml::IXmlDictionary ^ dictionary, System::Xml::XmlBinaryWriterSession ^ session, bool ownsStream);
public void SetOutput (System.IO.Stream stream, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlBinaryWriterSession? session, bool ownsStream);
public void SetOutput (System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlBinaryWriterSession session, bool ownsStream);
abstract member SetOutput : System.IO.Stream * System.Xml.IXmlDictionary * System.Xml.XmlBinaryWriterSession * bool -> unit
Public Sub SetOutput (stream As Stream, dictionary As IXmlDictionary, session As XmlBinaryWriterSession, ownsStream As Boolean)

Parameters

stream
Stream

The stream to write to.

dictionary
IXmlDictionary

The XmlDictionary to use.

ownsStream
Boolean

true to indicate the stream is closed by the writer when done; otherwise, false.

Applies to