Share via


MoveToFirstAttribute 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 first attribute.

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

Syntax

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

Return Value

Type: System. . :: . .Boolean
true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change).

.NET Framework Security

See Also

Reference

XmlReader Class

System.Xml Namespace