ApplicationEvents3_NewDocumentEventHandler Delegate 

See the description for this event handler in the latest version of the event interface.

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

Usage

Sub Sub1(Doc As Document)
End Sub
Dim applicationEvents3_NewDocumentEventHandler1 As New ApplicationEvents3_NewDocumentEventHandler(AddressOf Sub1)

Syntax

Public Delegate Sub ApplicationEvents3_NewDocumentEventHandler( _
    <InAttribute()> ByVal Doc As Document _
)
public delegate void ApplicationEvents3_NewDocumentEventHandler(
    [In] Document Doc
);
public delegate Void ApplicationEvents3_NewDocumentEventHandler(
    Document^ Doc
);
public delegate void ApplicationEvents3_NewDocumentEventHandler(
    /*in*/Document Doc
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

  • Doc
    See the description for this event handler parameter in the latest version of the event interface.

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