ApplicationEvents4_MailMergeAfterRecordMergeEventHandler Delegate
A Delegate type used to add an event handler for the MailMergeAfterRecordMerge event. The MailMergeAfterRecordMerge event occurs after each record in the data source successfully merges in a mail merge.
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 applicationEvents4_MailMergeAfterRecordMergeEventHandler1 As New ApplicationEvents4_MailMergeAfterRecordMergeEventHandler(AddressOf Sub1)
Syntax
Public Delegate Sub ApplicationEvents4_MailMergeAfterRecordMergeEventHandler( _
<InAttribute()> ByVal Doc As Document _
)
public delegate void ApplicationEvents4_MailMergeAfterRecordMergeEventHandler(
[In] Document Doc
);
public delegate Void ApplicationEvents4_MailMergeAfterRecordMergeEventHandler(
Document^ Doc
);
public delegate void ApplicationEvents4_MailMergeAfterRecordMergeEventHandler(
/*in*/Document Doc
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters
- Doc
The mail merge main document.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000