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

System.Xml.XmlTextReader.MoveToFirstAttribute Method

Moves the position of the current instance to the first attribute associated with the current node. [Edit]

public override bool MoveToFirstAttribute ()

Returns

A bool where true indicates the current node contains at least one attribute; otherwise, false. [Edit]

Remarks

If XmlTextReader.AttributeCount is non-zero, the reader moves to the first attribute; otherwise, the position of the reader does not change.

Note:

This method overrides XmlReader.MoveToFirstAttribute.

[Edit]

Requirements

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