IXmlBinaryWriterInitializer::SetOutput Method (Stream^, IXmlDictionary^, XmlBinaryWriterSession^, Boolean)

 

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

Namespace:   System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

void SetOutput(
	Stream^ stream,
	IXmlDictionary^ dictionary,
	XmlBinaryWriterSession^ session,
	bool ownsStream
)

Parameters

stream
Type: System.IO::Stream^

The stream to write to.

dictionary
Type: System.Xml::IXmlDictionary^

The XmlDictionary to use.

session
Type: System.Xml::XmlBinaryWriterSession^

The XmlBinaryWriterSession to use.

ownsStream
Type: System::Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: