Noemax FastInfoset.NET
Init(Stream,XmlWriterSettings) Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetWriter Class > Init Method : Init(Stream,XmlWriterSettings) Method






output
The stream to which you want to write.
settings
XmlWriterSettings to be applied to writer.
Initializes an instance of the XmlFastInfosetWriter class preparing to write into the specified stream.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Init( _
   ByVal output As Stream, _
   ByVal settings As XmlWriterSettings _
) 
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetWriter
Dim output As Stream
Dim settings As XmlWriterSettings
 
instance.Init(output, settings)
C# 
public void Init( 
   Stream output,
   XmlWriterSettings settings
)
Delphi 
public procedure Init( 
    output: Stream;
    settings: XmlWriterSettings
); 
JScript 
public function Init( 
   output : Stream,
   settings : XmlWriterSettings
);
Managed Extensions for C++ 
public: void Init( 
   Stream* output,
   XmlWriterSettings* settings
) 
C++/CLI 
public:
void Init( 
   Stream^ output,
   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.

See Also