Mono Class Library: System.Xml.XmlReader Overview | MembersSystem.Xml.XmlReader.MoveToContent Method |
Determines whether the current node can contain content and, if not, moves the position of the current instance to the next content node or the end of the input stream. [Edit]
|
The System.Xml.XmlNodeType of the content node, or XmlNodeType.None if the position of the reader has reached the end of the input stream. [Edit]
Type Reason System.Xml.XmlException An error occurred while parsing the XML. [Edit]
Note: The following members of System.Xml.XmlNodeType can contain content: Attribute, CDATA, Element, EndElement, EntityReference, EndEntity, and Text.Operation
As described above.If the current node is an Attribute node, this method moves the position of the reader back to the Element node that owns the attribute.
Note to Inheritors
Override this method to customize the behavior of this method in types derived from the System.Xml.XmlReader class.Usage
Use this method to determine whether the current node can contain content and, if not, move the position of the reader to the next content node. [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0