_dispWindowEvents_Event.WindowClosing 事件

更新:2007 年 11 月

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

仅由 Microsoft 内部使用。

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

语法

声明
Event WindowClosing As _dispWindowEvents_WindowClosingEventHandler
用法
Dim instance As _dispWindowEvents_Event
Dim handler As _dispWindowEvents_WindowClosingEventHandler

AddHandler instance.WindowClosing, handler
event _dispWindowEvents_WindowClosingEventHandler WindowClosing
 event _dispWindowEvents_WindowClosingEventHandler^ WindowClosing {
    void add (_dispWindowEvents_WindowClosingEventHandler^ value);
    void remove (_dispWindowEvents_WindowClosingEventHandler^ value);
}
JScript 不支持事件。

权限

另请参见

参考

_dispWindowEvents_Event 接口

_dispWindowEvents_Event 成员

EnvDTE 命名空间