XmlValidatingReader.MoveToFirstAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.