In MSHTML, what do the numbers mean? Like in IHTMLElement7?

≡放荡痞女 提交于 2020-01-16 03:10:52

问题


In MSHTML the interfaces are often numbered. The numbers are at the end of the interface names like IHTML{name}{number}. Interfaces like:

  • IHTMLRuleStyle
  • IHTMLRuleStyle2
  • ...
  • IHTMLRuleStyle6

or

  • IHTMLElement
  • IHTMLElement2
  • ...
  • IHTMLElement7

A list can be seen in this Microsoft page


回答1:


Thanks @Jay for your comments.

The numbers represent the version of MSHTML and the version numbers have an indirect relationship with the version of Internet Explorer, CSS, HTML, etc...

I wish I had did this search before but Geoff Chappell's site has a great chart mapping versions of MSHTML to IE and Windows.

Versions of things
MSHTML  IE      Windows
6.0     6.0     Windows XP
6.0     6.0     Windows Server 2003
7.0     7.0     Windows Vista
8.0     8.0     Windows 7

Judging from the chart, the version of MSHTML is closely related to the version of Internet Explorer.



来源:https://stackoverflow.com/questions/13016084/in-mshtml-what-do-the-numbers-mean-like-in-ihtmlelement7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!