Gets the currently active document.
[Visual Basic] Function GetActiveDocument() As IDesignerHost [C#] IDesignerHost GetActiveDocument(); [C++] IDesignerHost* GetActiveDocument() = 0; [JScript] function GetActiveDocument() : IDesignerHost;
The currently active document, or a null reference (in Visual Basic Nothing) if there is no active document.
IDesignerEventService Interface | IDesignerEventService Members | System.ComponentModel.Design Namespace