Share via


XmlReader.HasAttributes Property

Gets a value indicating whether the current node has any attributes.

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

Syntax

public virtual bool HasAttributes { get; }

Property Value

Returns true when the current node has attributes, otherwise returns false.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace