How to get all the attributes of an HtmlElement?

System.Windows.Forms.HtmlElement.GetAttribute can be used to get value of an atribute by its name, How can I get the name of all attributes for an HTMLElement?

Thanks

[169 byte] By [XGR131] at [2007-12-16]
# 1
you can use mshtml if you likeload the entire document and then you can access all the various elements by name, i.e., doc.BodyElement, I haven't used it in a while but I would be shocked if the attrib were not in a collection of each element....
jferrell1211 at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2
So is that a shortcoming in Framework?
XGR131 at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 3
i guess that would be one way to look at itof course, if your html is well formed, then you just load it in an xmlreader, there you have it...no shortcoming
jferrell1211 at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 4
interesting and nice answer. Just beautiful and well thought.
Thank you
XGR131 at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...