AttributeCount Property

XmlReader.AttributeCount Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When overridden in a derived class, gets the number of attributes on the current node.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public abstract int AttributeCount { get; }

Property Value

Type: System.Int32
The number of attributes on the current node.

This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft