ApplicationEvents4_DocumentChangeEventHandler Delegate 

A Delegate type used to add an event handler for the DocumentChange event. The DocumentChange event occurs when a new document is created, when an existing document is opened, or when another document is made the active document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Sub Sub1()
End Sub
Dim applicationEvents4_DocumentChangeEventHandler1 As New ApplicationEvents4_DocumentChangeEventHandler(AddressOf Sub1)

Syntax

Public Delegate Sub ApplicationEvents4_DocumentChangeEventHandler()
public delegate void ApplicationEvents4_DocumentChangeEventHandler();
public delegate Void ApplicationEvents4_DocumentChangeEventHandler();
public delegate void ApplicationEvents4_DocumentChangeEventHandler();
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace