DTE2.Events 属性

定义

获取对 Events 对象的引用。

public:
 property EnvDTE::Events ^ Events { EnvDTE::Events ^ get(); };
public:
 property EnvDTE::Events ^ Events { EnvDTE::Events ^ get(); };
[System.Runtime.InteropServices.DispId(111)]
public EnvDTE.Events Events { [System.Runtime.InteropServices.DispId(111)] get; }
[<System.Runtime.InteropServices.DispId(111)>]
[<get: System.Runtime.InteropServices.DispId(111)>]
member this.Events : EnvDTE.Events
Public ReadOnly Property Events As Events

属性值

Events

Events 对象。

实现

属性

示例

Sub EventsExample()  
  Dim findevt As FindEvents  
  findevt = DTE2.Events.FindEvents  
End Sub  

注解

使用 Events 对象可以访问扩展性模型中的所有事件。

适用于