IXmlBinaryWriterInitializer.SetOutput 方法

定义

指定实现此方法的 XML 二进制编写器的初始化要求。

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)

参数

stream
Stream

要写入的流。

dictionary
IXmlDictionary

要使用的 XmlDictionary

ownsStream
Boolean

如果指示完成时编写器关闭流,则为 true;否则为 false

适用于