Compartir a través de


IXmlBinaryWriterInitializer.SetOutput Método

Definición

Especifica los requisitos de inicialización para sistemas de escritura binarios XML que implementan este método.

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)

Parámetros

stream
Stream

Secuencia en la que se va a escribir.

dictionary
IXmlDictionary

Objeto XmlDictionary que se va a usar.

session
XmlBinaryWriterSession

Objeto XmlBinaryWriterSession que se va a usar.

ownsStream
Boolean

true para indicar que el sistema de escritura cerrará el flujo una vez que haya terminado; de lo contrario, false.

Se aplica a