Share via


XmlReader.MoveToFirstAttribute Method

Moves to the first attribute of the current node.

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

Syntax

public virtual abstract bool MoveToFirstAttribute ()

Return Value

true if an attribute exists, the reader moves to the first attribute; otherwise, false when 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