When overridden in a derived class, gets the number of attributes on the current node.
Assembly: System.Xml (in System.Xml.dll)
This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.)
The following example displays all attributes on the current node.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1