Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

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)

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

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.

Development Platforms

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

Target Platforms