IExtenderSite.NotifyDelete 方法

更新:2007 年 11 月

自动化扩展程序在被销毁时,可调用以通知其站点的方法。

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

语法

声明
Sub NotifyDelete ( _
    Cookie As Integer _
)
用法
Dim instance As IExtenderSite
Dim Cookie As Integer

instance.NotifyDelete(Cookie)
void NotifyDelete(
    int Cookie
)
void NotifyDelete(
    [InAttribute] int Cookie
)
function NotifyDelete(
    Cookie : int
)

参数

  • Cookie
    类型:System.Int32

    必选。标识扩展程序的 Cookie。当需要扩展程序时,该 Cookie 传递给扩展程序提供程序。

权限

另请参见

参考

IExtenderSite 接口

IExtenderSite 成员

EnvDTE 命名空间

其他资源

实现和使用自动化扩展程序