A int containing the number of attributes on the current node, or zero if the current node does not support attributes.
In the dnprdnext release, the recommended practice is to create System.Xml.XmlReader instances using the erload:System.Xml.XmlReader.Create method. This allows you to take full advantage of the new features introduced in this release. For more information, see Creating XML Readers.
This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.)