ApplicationEvents4_MailMergeDataSourceLoadEventHandler Delegate
A Delegate type used to add an event handler for the MailMergeDataSourceLoad event. The MailMergeDataSourceLoad event occurs when the data source is loaded for 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_MailMergeDataSourceLoadEventHandler1 As New ApplicationEvents4_MailMergeDataSourceLoadEventHandler(AddressOf Sub1)
Syntax
Public Delegate Sub ApplicationEvents4_MailMergeDataSourceLoadEventHandler( _
<InAttribute()> ByVal Doc As Document _
)
public delegate void ApplicationEvents4_MailMergeDataSourceLoadEventHandler(
[In] Document Doc
);
public delegate Void ApplicationEvents4_MailMergeDataSourceLoadEventHandler(
Document^ Doc
);
public delegate void ApplicationEvents4_MailMergeDataSourceLoadEventHandler(
/*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