The attributes of this element.
[Visual Basic] Public ReadOnly Property Attributes As XmlAttributeCollection [C#] public XmlAttributeCollection Attributes {get;} [C++] public: __property XmlAttributeCollection* get_Attributes(); [JScript] public function get Attributes() : XmlAttributeCollection;
The first time this property is accessed, an attributes collection is created and associated with the element for the remainder of its lifetime. To check whether an element has any attributes without creating an attributes collection, use the HasAttributes property.
XmlElement Class | XmlElement Members | System.Xml Namespace