Share via


MoveToNextAttribute Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Overridable Function MoveToNextAttribute As Boolean
public virtual bool MoveToNextAttribute()
public:
virtual bool MoveToNextAttribute()
abstract MoveToNextAttribute : unit -> bool 
override MoveToNextAttribute : unit -> bool 
public function MoveToNextAttribute() : boolean

Return Value

Type: System. . :: . .Boolean
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 MoveToFirstAttribute. If MoveToNextAttribute returns true, the reader moves to the next attribute; otherwise, the position of the reader does not change.

.NET Framework Security

See Also

Reference

XmlReader Class

System.Xml Namespace