System.Xml.XmlReader.MoveToNextAttribute Method

When overridden in a derived class, moves to the next attribute.

Syntax

public abstract bool MoveToNextAttribute ()

Returns

true if there is a next attribute; false if there are no more attributes.

Remarks

If the current node is an element node, this method is equivalent to XmlReader.MoveToFirstAttribute. If MoveToNextAttribute returns true, the reader moves to the next attribute; otherwise, the position of the reader does not change.

Requirements

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