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






input

The stream containing the Fast Infoset encoded XML data to read.

settings
The XmlReaderSettings object used to configure the reader.
Initializes an instance of the XmlFastInfosetReader class.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Init( _
   ByVal input As Stream, _
   ByVal settings As XmlReaderSettings _
) 
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim input As Stream
Dim settings As XmlReaderSettings
 
instance.Init(input, settings)
C# 
public void Init( 
   Stream input,
   XmlReaderSettings settings
)
Delphi 
public procedure Init( 
    input: Stream;
    settings: XmlReaderSettings
); 
JScript 
public function Init( 
   input : Stream,
   settings : XmlReaderSettings
);
Managed Extensions for C++ 
public: void Init( 
   Stream* input,
   XmlReaderSettings* settings
) 
C++/CLI 
public:
void Init( 
   Stream^ input,
   XmlReaderSettings^ settings
) 

Parameters

input

The stream containing the Fast Infoset encoded XML data to read.

settings
The XmlReaderSettings object used to configure the reader.

Remarks

Initializes the reader and sets it to use the provided stream as input.

This method allows the reuse of the XmlFastInfosetReader for reading from another stream.

See Also