摘要:
C# 反射机制以及方法 目录: 一. 反射的主要特性 1.反射中一个非常重要的类型就是 Type 1)当没有对象的时候使用这种方式来获取某个类型的Type 2)当已经获得对象后通过对象的GetType()方法来获取指定对象的类型的Type对象 2.获取Person类中的所有的方法 3.获取某个类型的 阅读全文
posted @ 2021-02-01 19:07
左正
阅读(1818)
评论(0)
推荐(1)
摘要:
C# 获取IFrame中body元素 (winform) 方法1. 找出iframe的b.html的src , 利用webbrowser去加载b.html HtmlElementCollection a = webBrowser1.Document.All["loginframe"].GetElem 阅读全文
posted @ 2021-02-01 18:30
左正
阅读(442)
评论(0)
推荐(0)
摘要:
首先要明白mshtml的属性方法: {IHTMLDocument2 方法:} write //写入 writeln //写入并换行 open //打开一个流,以收集 document.write 或 document.writeln 的输出 close //关闭并输出用 document.open 阅读全文
posted @ 2021-02-01 10:49
左正
阅读(214)
评论(0)
推荐(0)

浙公网安备 33010602011771号