Click or drag to resize
XmlReaderMoveToContent Method
Checks whether the current node is a content (non-white space text, CDATA, Element, EndElement, EntityReference, or EndEntity) node. If the node is not a content node, the reader skips ahead to the next content node or end of file. It skips over nodes of the following type: ProcessingInstruction, DocumentType, Comment, Whitespace, or SignificantWhitespace.

Namespace: System.Xml
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public virtual XmlNodeType MoveToContent()

Return Value

Type: XmlNodeType
The NodeType of the current node found by the method or XmlNodeType.None if the reader has reached the end of the input stream.
Exceptions
ExceptionCondition
XmlExceptionIncorrect XML encountered in the input stream.
See Also