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

System.Xml.XmlTextReader.MoveToElement Method

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

public override bool MoveToElement ()

Returns

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

Remarks

Note:

The DocumentType, Element, and XmlDeclaration node types can contain attributes.

This method overrides XmlReader.MoveToElement.

Requirements

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