Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.AttributeCount Property |
Gets the number of attributes on the current node. [Edit]
|
A int containing the number of attributes on the current node, or zero if the current node does not support attributes. [Edit]
This property is read-only.
Note:[Edit]This property is relevant to the DocumentType, Element, and XmlDeclaration node types of the System.Xml.XmlNodeType enumeration. Other node types do not have attributes.
This property overrides XmlReader.AttributeCount.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0