다음을 통해 공유


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()
abstract PerformRemove : unit -> unit 
override PerformRemove : unit -> unit 
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