ProvideEditorExtensionAttribute.Unregister 方法

移除了有关 VSPackage 中注册信息,在调用由外部注册工具 (如 RegPkg.exe。 有关更多信息,请参见 注册 Vspackage

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Overrides Sub Unregister ( _
    context As RegistrationAttribute.RegistrationContext _
)
public override void Unregister(
    RegistrationAttribute.RegistrationContext context
)

参数

异常

异常 条件
ArgumentNullException

,如果 context 参数为空,则此方法引发 ArgumentNullException

备注

移除了有关 VSPackage 中注册信息,在调用由外部注册工具 (如 RegPkg.exe。

.NET Framework 安全性

请参见

参考

ProvideEditorExtensionAttribute 类

Microsoft.VisualStudio.Shell 命名空间

RegisterEditorExtensionAttribute