GlobalType.Removed Event

Occurs after the current global type is removed from use.

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

Syntax

'宣言
Public Event Removed As EventHandler
'使用
Dim instance As GlobalType
Dim handler As EventHandler

AddHandler instance.Removed, handler
public event EventHandler Removed
public:
 event EventHandler^ Removed {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
JScript does not support events.

Remarks

The Removed event is raised by the PerformRemove method whose default implementation passes an EventArgs value of Empty.

For more information about handling events, see Consuming Events.

Permissions

See Also

Reference

GlobalType Class

GlobalType Members

Microsoft.VisualStudio.Shell.Design Namespace

PerformRemove

OnRemoved

Removing