IXmlBinaryWriterInitializer.SetOutput Metod

Definition

Anger initieringskrav för XML-binära skrivare som implementerar den här metoden.

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)

Parametrar

stream
Stream

Dataströmmen att skriva till.

dictionary
IXmlDictionary

Att XmlDictionary använda.

ownsStream
Boolean

trueför att indikera att strömmen stängs av skrivaren när den är klar; annars . false

Gäller för