Document.Startup Event (2007 System)
Occurs after the document is running and all the initialization code in the assembly has been run.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Event Startup As EventHandler
'Usage
Dim instance As Document
Dim handler As EventHandler
AddHandler instance.Startup, handler
public event EventHandler Startup
public:
event EventHandler^ Startup {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
JScript does not support events.
Remarks
This event is the last thing to run in the constructor of the class that the user code is running in. Use this event for any additional initialization.
You should use the existing Startup event handler, rather than creating a new one.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.