对于接口A,如何知道哪(些)个类实现了接口A
解决方案 »
- 如何把一个数据中的所有表信息一次性添加到一个DATASET中
- vs2005 C#多线程问题,在线等高手
- 急急急!!!数据库连接!!求教!!!!
- ToolStrip控件问题
- 为什么大多数ASP.NET都采用C#作为WEB数据库开发的附属语言呢,而不采用VB.NET呢?而且大多数ASP.NET图书都是采用C#作为脚本语言.?是不是C#在WEB开发比VB.NET要强得多吗?
- 100分求c#.net下水晶报表打印C1Flexgrid的例子
- 在程序中打开一个网页的方法
- 如何取绝对值啊??
- vs 2003 界面设计问题(winform)
- 引用某个dll后,如何使用
- C#导出Excel格式化输出数字为“##0.######”的问题
- vs2008的msdn帮助中没有office开发方面的类库,在微软的网站上找了半天也没找到下载的地方,谁能提供一个msdn中office开发文档的链接,其中应有microsoft.office.tools.word命名空间和类库。
第二,既然能找到使用次接口的函数,那逆向查找也能找到最终new 的继承此接口的方法。
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (105, 41) : MessageBox.Show(oWordApplic.Documents.GetType().Name);
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (124, 32) : oDoc = oWordApplic.Documents.Open(ref fileName, ref missing, ref missing, ref missing,
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (139, 23) : oDoc = oWordApplic.Documents.Add(ref missing, ref missing,ref missing, ref missing);
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (650, 32) : oDoc = oWordApplic.Documents.Add(ref fileName, ref oMissing,
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (684, 32) : oDoc = oWordApplic.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (707, 32) : oDoc = oWordApplic.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (727, 32) : oDoc = oWordApplic.Documents.Add(ref oMissing, ref oMissing,
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (750, 32) : oDoc = oWordApplic.Documents.Add(ref oMissing, ref oMissing,
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (775, 32) : oDoc = oWordApplic.Documents.Add(ref oMissing, ref oMissing,
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (813, 32) : oDoc = oWordApplic.Documents.Add(ref Nothing, ref Nothing, ref Nothing, ref Nothing);
D:\[Csharp]\[Csharp练习]\ldyh\练习\ldyhWordApp.cs - (99, 32) : oDoc = oWordApplic.Documents.Open(ref fileName, ref missing, ref missing, ref missing,
D:\[Csharp]\[Csharp练习]\ldyh\练习\wordapp2.cs - (164, 78) : Microsoft.Office.Interop.Word.Document wordDoc = oWordApplic.Documents.Open(ref filename, ref ConfirmConversions,
D:\[Csharp]\[Csharp练习]\ldyh\练习\wordapp2.cs - (63, 32) : oDoc = oWordApplic.Documents.Open(ref fileName, ref missing, ref readOnly,
D:\[Csharp]\[Csharp练习]\ldyh\练习\wordapp2.cs - (75, 32) : oDoc = oWordApplic.Documents.Add(ref missing, ref missing, ref missing, ref missing);这是所有引用,请您看看哪个类实现了Documents接口。
然后,你使用的office的组件吧,这个又不是你自己写的,当然不能查找接口的引用了。因为你的代码有没有去实现它,你可以把这个组件的代码reflector后,把源代码down成一个项目再去查就能查到了。
先生,如何做reflector呢?教教我,谢谢!