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:
Raises the Removing event.
Nulls the type by calling the ClearObjectType method.
Raises the Removed event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.