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!

IDesignerHost.AddOnCodeUnloaded

Adds an event handler for the System.ComponentModel.Design.IDesignerHost.CodeUnloaded event.

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

Parameters

handler
An System.ComponentModel.Design.EventHandler that represents the method that will handle the System.ComponentModel.Design.IDesignerHost.CodeUnloaded event.

Remarks

Code unloading can occur when the document is being destroyed or reloaded.

See Also

IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace | RemoveOnCodeUnloaded