DocumentEvents2_CloseEventHandler Delegate 

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

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

Usage

Sub Sub1()
End Sub
Dim documentEvents2_CloseEventHandler1 As New DocumentEvents2_CloseEventHandler(AddressOf Sub1)

Syntax

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