ApplicationEvents4_MailMergeDataSourceValidate2EventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public delegate void ApplicationEvents4_MailMergeDataSourceValidate2EventHandler(Document ^ Doc, [Runtime::InteropServices::Out] bool % Handled);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ApplicationEvents4_MailMergeDataSourceValidate2EventHandler(Document Doc, out bool Handled);
type ApplicationEvents4_MailMergeDataSourceValidate2EventHandler = delegate of Document * bool -> unit
Public Delegate Sub ApplicationEvents4_MailMergeDataSourceValidate2EventHandler(Doc As Document, ByRef Handled As Boolean)
Parameters
- Doc
- Document
The mail merge main document.
- Handled
- Boolean
true if the add-in has handled the validation event.
- Attributes