XmlReader.MoveToElement Method

Moves to the element that contains the current attribute node.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public virtual abstract bool MoveToElement ()

Return Value

true if the reader is positioned on an attribute, the reader moves to the element that owns the attribute; false if the reader is not positioned on an attribute, and the position of the reader does not change.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace