ProvideLanguageEditorOptionPageAttribute.Unregister Method

Removes all of the registry keys and entries.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)


Public Overrides Sub Unregister ( _
    context As RegistrationAttribute..::..RegistrationContext _
public override void Unregister(
    RegistrationAttribute..::..RegistrationContext context
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



This method is called to remove all the registry entries created by the Register method. Typically, a program such as Regpkg.exe reads a specified assembly and looks for all attributes that inherit from the RegistrationAttribute. Regpkg.exe then instantiates each attribute, supplying the appropriate parameters that were specified when the attribute was compiled. Finally, Regpkg.exe calls the Unregister method on the newly created object to cause all of the appropriate registry keys and entries to be removed. This is done as part of an uninstall process or when Clean Solution is selected from the Build menu.

Note that this method is an override of the Unregister method.

.NET Framework Security

See Also


ProvideLanguageEditorOptionPageAttribute Class

Microsoft.VisualStudio.Shell Namespace