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.AddOnActiveDocumentChanged

Adds an event that will be raised when the currently active document changes.

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

Parameters

handler
The event handler to add.

Remarks

This can result from the user opening or setting focus to a new document, or by closing a document.

See Also

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