Share via


WindowEventsClass.add_WindowClosing 方法

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

仅由 Microsoft 内部使用。

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

语法

声明
Public Overridable Sub add_WindowClosing ( _
    A_1 As _dispWindowEvents_WindowClosingEventHandler _
)
public virtual void add_WindowClosing(
    _dispWindowEvents_WindowClosingEventHandler A_1
)
public:
virtual void add_WindowClosing(
    _dispWindowEvents_WindowClosingEventHandler^ A_1
)
abstract add_WindowClosing : 
        A_1:_dispWindowEvents_WindowClosingEventHandler -> unit  
override add_WindowClosing : 
        A_1:_dispWindowEvents_WindowClosingEventHandler -> unit
public function add_WindowClosing(
    A_1 : _dispWindowEvents_WindowClosingEventHandler
)

参数

实现

_dispWindowEvents_Event.add_WindowClosing(_dispWindowEvents_WindowClosingEventHandler)

.NET Framework 安全性

请参阅

参考

WindowEventsClass 类

EnvDTE 命名空间