Represents the method that will handle the DocumentEventArgs event raised when a document is created or disposed.
[Visual Basic] Public Delegate Sub DocumentEventHandler( _ ByVal sender As Object, _ ByVal e As DocumentEventArgs _ ) [C#] public delegate void DocumentEventHandler( object sender, DocumentEventArgs e ); [C++] public __gc __delegate void DocumentEventHandler( Object* sender, DocumentEventArgs* e );
[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.
The declaration of your event-handling method must have the same parameters as the DocumentEventHandler delegate declaration.
[To be supplied.]
Namespace: System.ComponentModel.Design
Assembly: System.dll