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!

IDesignerEventService DocumentDisposed Event

Occurs when a document is disposed.

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

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

Parameters

sender
The source of the event.
e
A DocumentEventArgs that contains the event data. The following DocumentEventArgs properties provide information specific to this event.
Property Description
Document
[To be supplied.]

Remarks

This event will be raised when a document is about to be disposed, but before the document actually starts to dispose itself.

See Also

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