Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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)
Syntax
'Declaration
Public Overridable ReadOnly Property AttributeCount As Integer
public virtual int AttributeCount { get; }
public:
virtual property int AttributeCount {
int get ();
}
abstract AttributeCount : int with get
override AttributeCount : int with get
function get AttributeCount () : int
Property Value
Type: System. . :: . .Int32
The number of attributes on the current node.
Remarks
This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.