开发者

Differences between IHTMLInputElement and HTMLInputElement

Currently i'm developing an web automation system using WebBrowser control and AxWebBrowser control in windows form. But i found out there are IHTMLInputElement with mshtml and HTMLInputElement which both of them can be implemented. Afte开发者_C百科r i googled, i found out there are no clear comparison between these two... can anyone tell me what's the differences ?


Many COM objects exposed by mshtml have several interfaces like ISomething, ISomething2, ISomething3, etc. Those represent the members that were added through separate versions of the browser. The interop class that's associated with those typically implements all those interfaces, but from my experience you often cannot cast objects retrieved through mshtml in the associated class type. You must explicitly cast it to the interface that implements the member you need.


i think u can refer to foll 3 links there r some examp prog
link1 link2 link3

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜