XmlValidatingReader.MoveToNextAttribute 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 next attribute.
public:
override bool MoveToNextAttribute();
public override bool MoveToNextAttribute();
override this.MoveToNextAttribute : unit -> bool
Public Overrides Function MoveToNextAttribute () As Boolean
Returns
true
if there is a next attribute; false
if there are no more attributes.
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.
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.