where is IHTMLScriptElement?

后端 未结 4 736
星月不相逢
星月不相逢 2020-12-31 01:28

I just started using Visual Studio 2010 C# IDE today.

I\'m trying to inject javascript to WebBrowser component and followed the answer from stackoverflow:

Ho

4条回答
  •  猫巷女王i
    2020-12-31 02:08

    It is in Mshtml.dll.

    The System.Windows.Forms.HtmlElement's DomElement property is of type object, but actually a COM IUnknown pointer for the element, which you can cast to one of the HTML element interfaces, such as mshtml.IHTMLScriptElement.

提交回复
热议问题