This documentation is archived and is not being maintained.

ApplicationEvents4_MailMergeDataSourceValidateEventHandler Delegate 

A Delegate type used to add an event handler for the MailMergeDataSourceValidate event. The MailMergeDataSourceValidate event occurs when a user performs address verification by clicking Validate in the Mail Merge Recipients dialog box.

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

Sub Sub1(Doc As Document, _
	Handled As Boolean)
End Sub
Dim applicationEvents4_MailMergeDataSourceValidateEventHandler1 As New ApplicationEvents4_MailMergeDataSourceValidateEventHandler(AddressOf Sub1)

public delegate void ApplicationEvents4_MailMergeDataSourceValidateEventHandler(
	[In] Document Doc, 
	[In] ref bool Handled
public delegate void ApplicationEvents4_MailMergeDataSourceValidateEventHandler(
	/*in*/Document Doc, 
	/*in*/boolean Handled
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



The mail merge main document.


True runs the accompanying validation code against the mail merge data source. False cancels the data source validation.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms