ApplicationEvents3_MailMergeBeforeMergeEventHandler Delegate 

See the description for this event handler in the latest version of the event interface.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Sub Sub1(Doc As Document, _
    StartRecord As Integer, _
    EndRecord As Integer, _
    Cancel As Boolean)
End Sub
Dim applicationEvents3_MailMergeBeforeMergeEventHandler1 As New ApplicationEvents3_MailMergeBeforeMergeEventHandler(AddressOf Sub1)

Syntax

Public Delegate Sub ApplicationEvents3_MailMergeBeforeMergeEventHandler( _
    <InAttribute()> ByVal Doc As Document, _
    <InAttribute()> ByVal StartRecord As Integer, _
    <InAttribute()> ByVal EndRecord As Integer, _
    <InAttribute()> ByRef Cancel As Boolean _
)
public delegate void ApplicationEvents3_MailMergeBeforeMergeEventHandler(
    [In] Document Doc, 
    [In] int StartRecord, 
    [In] int EndRecord, 
    [In] ref bool Cancel
);
public delegate Void ApplicationEvents3_MailMergeBeforeMergeEventHandler(
    Document^ Doc, 
    Int32 StartRecord, 
    Int32 EndRecord, 
    &Boolean Cancel
);
public delegate void ApplicationEvents3_MailMergeBeforeMergeEventHandler(
    /*in*/Document Doc, 
    /*in*/int StartRecord, 
    /*in*/int EndRecord, 
    /*in*/boolean Cancel
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

  • Doc
    See the description for this event handler parameter in the latest version of the event interface.
  • StartRecord
    See the description for this event handler parameter in the latest version of the event interface.
  • EndRecord
    See the description for this event handler parameter in the latest version of the event interface.
  • Cancel
    See the description for this event handler parameter in the latest version of the event interface.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace