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

'宣言
Protected Overridable Sub PerformRemove
'使用

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.

Permissions

See Also

Reference

GlobalType Class

GlobalType Members

Microsoft.VisualStudio.Shell.Design Namespace

PerformChange

ClearObjectType

OnRemoving

OnRemoved