Share via


HasAttributes Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Overridable ReadOnly Property HasAttributes As Boolean
public virtual bool HasAttributes { get; }
public:
virtual property bool HasAttributes {
    bool get ();
}
abstract HasAttributes : bool with get
override HasAttributes : bool with get
function get HasAttributes () : boolean

Property Value

Type: System. . :: . .Boolean
true if the current node has attributes; otherwise, false.

.NET Framework Security

See Also

Reference

XmlReader Class

System.Xml Namespace