Share via


GlobalType.PerformRemove Method

Clears the global type and notifies users of its removal.

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

Syntax

'Declaration
Protected Overridable Sub PerformRemove
'Usage
Me.PerformRemove()
protected virtual void PerformRemove()
protected:
virtual void PerformRemove()
protected function PerformRemove()

Remarks

The PerformRemove method should be called by derived classes to remove the current global type from use. The default implementation of PerformRemove performs the following actions:

  1. Raises the Removing event.

  2. Nulls the type by calling the ClearObjectType method.

  3. Raises the Removed event.

.NET Framework Security

See Also

Reference

GlobalType Class

GlobalType Members

Microsoft.VisualStudio.Shell.Design Namespace

PerformChange

ClearObjectType

OnRemoving

OnRemoved