Mono Class Library: System.Xml.XmlReader Overview | Members

System.Xml.XmlReader.MoveToElement Method

Moves the position of the current instance to the node that contains the current Attribute node. [Edit]

public abstract bool MoveToElement ()

Returns

A bool where true indicates the position of the reader was moved; false indicates the reader was not positioned on an Attribute node and therefore the position of the reader was not moved. [Edit]

Remarks

Note: The DocumentType, Element, and XmlDeclaration members of System.Xml.XmlNodeType can contain attributes.

Operation
As described above.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0