Share via


XmlReader.MoveToAttribute Method (String)

Moves to the attribute with the specified Name.

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

Syntax

public virtual abstract bool MoveToAttribute (
         stringname
)

Parameters

  • name
    The qualified Name of the attribute.

Return Value

true if the attribute is found; otherwise, false. If false, the reader's position 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