GlobalObject::PerformRemove Method ()

 

Clears the global object and notifies users of its removal.

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

protected:
virtual void PerformRemove() override

The PerformRemove method is called by the derived class to notify users that a global type is no longer available for use. The default implementation of PerformRemove performs the following actions:

  1. Raises the Removing event.

  2. Sets the object instance to a null value by calling the ClearInstance and ClearObjectType methods.

  3. Raises the Removed event.

Return to top
Show: