Mono Class Library: System.Xml.XmlTextReader Overview | Members

System.Xml.XmlTextReader.MoveToAttribute Method

Moves the position of the current instance to the attribute with the specified qualified name.

public override bool MoveToAttribute (string name)

Parameters

name
A string specifying the qualified name of the attribute.

Returns

A bool where true indicates the attribute was found. If name is null, or the attribute was not found, false is returned and the position of the reader does not change.

Remarks

After calling this method, the XmlTextReader.Name, XmlTextReader.NamespaceURI, and XmlTextReader.Prefix properties reflect the properties of the new attribute.

Note:

This method overrides XmlReader.MoveToAttribute(string).

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0