Noemax FastInfoset.NET Report an issue | Discuss in forums
XmlFastInfosetReader.ResetState() Method
See Also 
Noemax.FastInfoset Assembly > Noemax.FastInfoset Namespace > XmlFastInfosetReader Class : ResetState Method



Resets the ReadState to Initial.


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

Syntax

Visual Basic (Declaration) 
Public Sub ResetState() 
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
 
instance.ResetState()
C# 
public void ResetState()
C++/CLI 
public:
void ResetState(); 

Remarks

ResetState enables you to parse multiple Fast Infoset documents in a single stream. When you reach the end of a Fast Infoset document, you can call ResetState to reset the state of the reader in preparation for the next Fast Infoset document.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also