CodeInterface2 接口

更新:2007 年 11 月

表示源代码中接口的对象。

命名空间:  EnvDTE80
程序集:  EnvDTE80(在 EnvDTE80.dll 中)

语法

声明
<GuidAttribute("860AB609-8AF2-4434-B4DD-A43DEE31B017")> _
Public Interface CodeInterface2 _
    Implements CodeInterface
用法
Dim instance As CodeInterface2
[GuidAttribute("860AB609-8AF2-4434-B4DD-A43DEE31B017")]
public interface CodeInterface2 : CodeInterface
[GuidAttribute(L"860AB609-8AF2-4434-B4DD-A43DEE31B017")]
public interface class CodeInterface2 : CodeInterface
public interface CodeInterface2 extends CodeInterface

备注

说明:

在进行某些类型的编辑之后,代码模型元素(如类、结构、函数、属性、委托等)的值可能是非确定性的,这意味着不能指望它们的值总是保持不变。有关更多信息,请参见 使用代码模型查找代码 (Visual Basic) 中的“代码模型元素的值可能会更改”一节。

另请参见

参考

CodeInterface2 成员

EnvDTE80 命名空间

其他资源

如何:编译和运行自动化对象模型代码示例

使用代码模型查找代码 (Visual Basic)

使用代码模型查找代码 (Visual C#)