ApplicationEvents4_MailMergeAfterMergeEventHandler Delegate 

A Delegate type used to add an event handler for the MailMergeAfterMerge event. The MailMergeAfterMerge event occurs after all records in a mail merge have merged successfully.

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

Usage

Sub Sub1(Doc As Document, _
    DocResult As Document)
End Sub
Dim applicationEvents4_MailMergeAfterMergeEventHandler1 As New ApplicationEvents4_MailMergeAfterMergeEventHandler(AddressOf Sub1)

Syntax

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

Parameters

  • Doc
    The mail merge main document.
  • DocResult
    The document created from the mail merge.

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