FastInfoset.NET Class Reference for .NET
Init(Stream,XmlWriterSettings) Method






The stream to which you want to write.
XmlWriterSettings to be applied to writer.
Initializes an instance of the XmlFastInfosetWriter class preparing to write into the specified stream.
Syntax
'Declaration
 
Public Overloads Sub Init( _
   ByVal output As System.IO.Stream, _
   ByVal settings As System.Xml.XmlWriterSettings _
) 
'Usage
 
Dim instance As XmlFastInfosetWriter
Dim output As System.IO.Stream
Dim settings As System.Xml.XmlWriterSettings
 
instance.Init(output, settings)
public void Init( 
   System.IO.Stream output,
   System.Xml.XmlWriterSettings settings
)
public procedure Init( 
    output: System.IO.Stream;
    settings: System.Xml.XmlWriterSettings
); 
public function Init( 
   output : System.IO.Stream,
   settings : System.Xml.XmlWriterSettings
);
public: void Init( 
   System.IO.Stream* output,
   System.Xml.XmlWriterSettings* settings
) 
public:
void Init( 
   System.IO.Stream^ output,
   System.Xml.XmlWriterSettings^ settings
) 

Parameters

output
The stream to which you want to write.
settings
XmlWriterSettings to be applied to writer.
Remarks

Initializes the writer and sets it to use the provided stream as output.

This method allows the reuse the XmlFastInfosetWriter for writing to another stream.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Overload List

Send Feedback