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 CodeUnloaded Event

Occurs before the code is unloaded.

The following declaration shows the syntax for a method that handles the CodeUnloaded event.

[Visual Basic]
Private Sub IDesignerHostName_CodeUnloaded( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
private void IDesignerHostName_CodeUnloaded(
   object sender,
   EventArgs e
);
[C++]
private: void IDesignerHostName_CodeUnloaded(
   Object* sender,
   EventArgs* e
);
[JScript]
private IDesignerHostName_CodeUnloaded(
   sender : Object,
   e : EventArgs
);

Parameters

sender
The source of the event.
e
An EventArgs that contains the event data. The following EventArgs properties provide information specific to this event.
Property Description
ExtendedInfo
Holds a reference to an object that manages the event's state.

Remarks

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

See Also

IDesignerHost Interface | IDesignerHost MembersTopic | System.ComponentModel.Design Namespace