Edit

Share via


XmlValidatingReader.MoveToFirstAttribute Method

Definition

Moves to the first attribute.

public:
 override bool MoveToFirstAttribute();
public override bool MoveToFirstAttribute();
override this.MoveToFirstAttribute : unit -> bool
Public Overrides Function MoveToFirstAttribute () As Boolean

Returns

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

Remarks

Note

The XmlValidatingReader class is obsolete in .NET Framework 2.0. You can create a validating XmlReader instance by using the XmlReaderSettings class and the Create method. For more information, see the Remarks section of the XmlReader reference page.

Applies to

See also