Mono Class Library: System.Xml.XmlReader Overview | MembersSystem.Xml.XmlReader.Skip Method |
Skips over the current element and moves the position of the current instance to the next node in the stream. [Edit]
|
Type Reason System.Xml.XmlException The XML was not well-formed, or an error occurred while parsing the XML. [Edit]
Operation
If the reader is positioned on a non-empty Element node (XmlReader.IsEmptyElement equals false), the position of the reader is moved to the node following the corresponding EndElement node. The properties of the nodes that are skipped over are not exposed. If the reader is positioned on any other node type, the position of the reader is moved to the next node, in this case behaving like the XmlReader.Read method.This method calls the XmlReader.MoveToElement method before skipping to the next node.
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 skip over the current node. [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0