从execScript返回值(IHTMLWindow2) [英] Return value from execScript(IHTMLWindow2)

查看:1295
本文介绍了从execScript返回值(IHTMLWindow2)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从IHTMLWindow2 :: execScript获取返回值的最好方法是什么?

What is the best way to get the return value from IHTMLWindow2::execScript?

我发现了这个链接, http://social.msdn.microsoft.com/Forums/en/ieextensiondevelopment/thread / 712db8ec-0ceb-4efa-afe3-590dc6bbb7bf ,我没有尝试过,这是正确的方法吗?

I found this link, http://social.msdn.microsoft.com/Forums/en/ieextensiondevelopment/thread/712db8ec-0ceb-4efa-afe3-590dc6bbb7bf, I haven't tried this, is this the right way?

注意
Manoj

Regards Manoj

推荐答案

是的,这就是System.Windows.Forms.HtmlDocument.InvokeScript获取返回值的方法。

Yes, that's how System.Windows.Forms.HtmlDocument.InvokeScript gets the return value.

这篇关于从execScript返回值(IHTMLWindow2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆