共用方式為


_dispDocumentEvents_Event.add_DocumentClosing 方法

這個應用程式開發介面支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  EnvDTE
組件:  EnvDTE (在 EnvDTE.dll 中)

語法

'宣告
Sub add_DocumentClosing ( _
    A_1 As _dispDocumentEvents_DocumentClosingEventHandler _
)
void add_DocumentClosing(
    _dispDocumentEvents_DocumentClosingEventHandler A_1
)
void add_DocumentClosing(
    _dispDocumentEvents_DocumentClosingEventHandler^ A_1
)
abstract add_DocumentClosing : 
        A_1:_dispDocumentEvents_DocumentClosingEventHandler -> unit
function add_DocumentClosing(
    A_1 : _dispDocumentEvents_DocumentClosingEventHandler
)

參數

.NET Framework 安全性

請參閱

參考

_dispDocumentEvents_Event 介面

EnvDTE 命名空間