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!

DocumentEventHandler Delegate

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.

Parameters [Visual Basic, C#, C++]

The declaration of your event-handling method must have the same parameters as the DocumentEventHandler delegate declaration.

sender
The source of the event.
e
A DocumentEventArgs that contains the event data.

Remarks

[To be supplied.]

Requirements

Namespace: System.ComponentModel.Design

Assembly: System.dll

See Also

System.ComponentModel.Design Namespace | DocumentEventArgs