NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IComponentChangeService.AddOnComponentRemoved

Adds an event handler for the System.ComponentModel.Design.IComponentChangeService.OnComponentRemoved event.

[Visual Basic]
Sub AddOnComponentRemoved( _
   ByVal handler As ComponentEventHandler _
)
[C#]
void AddOnComponentRemoved(
   ComponentEventHandler handler
);
[C++]
void AddOnComponentRemoved(
   ComponentEventHandler* handler
) = 0;
[JScript]
function AddOnComponentRemoved(
   handler : ComponentEventHandler
);

Parameters

handler
A ComponentEventHandler delegate that represents the method that will handle the ComponentRemovedEvent.

Remarks

This event occurs during unload and when a component is deleted by the user. The event occurs before the site has been removed from the component.

See Also

IComponentChangeService Interface | IComponentChangeService Members | System.ComponentModel.Design Namespace | RemoveOnComponentRemoved | ComponentEventHandler