ProvideGlobalObjectProviderAttribute.Unregister Method
Removes this attribute from the registry using the specified registry context.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
声明
Public Overrides Sub Unregister ( _
context As RegistrationAttribute..::..RegistrationContext _
)
用法
Dim instance As ProvideGlobalObjectProviderAttribute
Dim context As RegistrationAttribute..::..RegistrationContext
instance.Unregister(context)
public override void Unregister(
RegistrationAttribute..::..RegistrationContext context
)
public:
virtual void Unregister(
RegistrationAttribute..::..RegistrationContext^ context
) override
abstract Unregister :
context:RegistrationAttribute..::..RegistrationContext -> unit
override Unregister :
context:RegistrationAttribute..::..RegistrationContext -> unit
public override function Unregister(
context : RegistrationAttribute..::..RegistrationContext
)
Parameters
- context
Type: Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext
The RegistrationAttribute.RegistrationContext that contains registration data.
Remarks
This method deletes the root Windows registry key that was created using RegPkg.exe (see VSPackage Registration) or the Register method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProvideGlobalObjectProviderAttribute Class
ProvideGlobalObjectProviderAttribute Members