更新时间:2022-12-04 22:14:01
将按钮调暗为 MSH.HTMLElementCollection
Dim buttons As MSH.HTMLElementCollection
类型错误.那应该是一个 IHTMLElementCollection .注意前面的 I.MSDN 页面 在这里.
Wrong type. That should be an IHTMLElementCollection instead. Note the leading I. The MSDN page is here.
缺少 I 的类型是 coclass,而不是接口.由脚本客户端在想要创建自己的集合对象时使用.
The type that is missing the I is a coclass, not an interface. Used by scripting clients when they want to create their own collection object.