次の方法で共有


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
protected virtual void 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

Microsoft.VisualStudio.Shell.Design Namespace

PerformChange

ClearObjectType

OnRemoving

OnRemoved