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

Gets the currently active document.

[Visual Basic]
Function GetActiveDocument() As IDesignerHost
[C#]
IDesignerHost GetActiveDocument();
[C++]
IDesignerHost* GetActiveDocument() = 0;
[JScript]
function GetActiveDocument() : IDesignerHost;

Return Value

The currently active document, or a null reference (in Visual Basic Nothing) if there is no active document.

See Also

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