Assembly: Microsoft.VisualStudio.Shell.Design (in microsoft.visualstudio.shell.design.dll)
The OnRemoved method is called by themethod after it deletes the current type.
Raising an event invokes the event handler through a delegate. For more information, see.
The OnRemoved method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.Notes to Inheritors When overriding OnRemoved in a derived class, be sure to call the base class’s OnRemoved method so that registered delegates receive the event.