ApplicationEvents4_MailMergeDataSourceValidate2EventHandler Delegate

A Delegate type used to add an event handler for the MailMergeDataSourceValidate2 event. The MailMergeDataSourceValidate2 event occurs when a user validates mail merge recipients by clicking the Validate addresses link button in the Mail Merge Recipients dialog box.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_MailMergeDataSourceValidate2EventHandler ( _
    Doc As Document, _
    <OutAttribute> ByRef Handled As Boolean _
)
'Usage
Dim instance As New ApplicationEvents4_MailMergeDataSourceValidate2EventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_MailMergeDataSourceValidate2EventHandler(
    Document Doc,
    out bool Handled
)

Parameters

  • Handled
    Type: System.Boolean%
    true if the add-in has handled the validation event.

See Also

Reference

Microsoft.Office.Interop.Word Namespace