DocumentEvents2_OpenEventHandler Delegate 

A Delegate type used to add an event handler for the Open event. The Open event occurs when a document is opened.

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

Usage

Sub Sub1()
End Sub
Dim documentEvents2_OpenEventHandler1 As New DocumentEvents2_OpenEventHandler(AddressOf Sub1)

Syntax

Public Delegate Sub DocumentEvents2_OpenEventHandler()
public delegate void DocumentEvents2_OpenEventHandler();
public delegate Void DocumentEvents2_OpenEventHandler();
public delegate void DocumentEvents2_OpenEventHandler();
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