IXmlBinaryWriterInitializer.SetOutput 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定实现此方法的 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。
- session
- XmlBinaryWriterSession
要使用的 XmlBinaryWriterSession。
- ownsStream
- Boolean
如果指示完成时编写器关闭流,则为 true
;否则为 false
。