When overridden in a derived class, moves to the first attribute.
[Visual Basic]
Public MustOverride Function MoveToFirstAttribute() As Boolean
[C#]
public abstract bool MoveToFirstAttribute();
[C++]
public: virtual bool MoveToFirstAttribute() = 0;
[JScript]
public abstract function MoveToFirstAttribute() : Boolean;
Return Value
true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change).
Example
See MoveToFirstAttribute (in the XmlTextReader class) for an example using this method.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard
See Also
XmlReader Class | XmlReader Members | System.Xml Namespace