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

System.Xml.XmlReader.MoveToAttribute Method

Moves the position of the current instance to the attribute with the specified local name and namespace URI. [Edit]

public abstract bool MoveToAttribute (string localName, string namespaceName)

Parameters

localName
Documentation for this section has not yet been entered. [Edit]
namespaceName
Documentation for this section has not yet been entered. [Edit]

Returns

A bool where true indicates the attribute was found; otherwise, false. If false, the position of the current instance does not change. [Edit]

Remarks

Operation
After calling this method, the XmlReader.Name, XmlReader.NamespaceURI, and XmlReader.Prefix properties reflect the properties of current attribute.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

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