Noemax FastInfoset.NET Report an issue | Discuss in forums
XmlFastInfosetReader.Init(Stream,bool) Method
See Also 
Noemax.FastInfoset Assembly > Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > Init Method : Init(Stream,Boolean) Method



input

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

closeInput
Specifies whether the reader should close the input stream when closed.
Initializes an instance of the XmlFastInfosetReader class.


Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Init( _
   ByVal input As Stream, _
   ByVal closeInput As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim input As Stream
Dim closeInput As Boolean
 
instance.Init(input, closeInput)
C# 
public void Init( 
   Stream input,
   bool closeInput
)
C++/CLI 
public:
void Init( 
   Stream^ input,
   bool closeInput
) 

Parameters

input

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

closeInput
Specifies whether the reader should close the input stream when closed.

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.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also