MoveToAttribute Method (String)

[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 attribute with the specified Name.

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

public:
virtual bool MoveToAttribute(
	String^ name
)

Parameters

name
Type: System..::..String
The qualified name of the attribute.

Return Value

Type: System..::..Boolean
true if the attribute is found; otherwise, false. If false, the reader's position does not change.

After calling MoveToAttribute, the Name, NamespaceURI, and Prefix properties reflect the properties of that attribute.

Show: