Export (0) Print
Expand All
Expand Minimize

ApplicationEvents4_MailMergeWizardStateChangeEventHandler Delegate 

A Delegate type used to add an event handler for the MailMergeWizardStateChange event. The MailMergeWizardStateChange event occurs when a user changes from a specified step to a specified step in the Mail Merge Wizard.

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

'Usage
Sub Sub1(Doc As Document, _
	FromState As Integer, _
	ToState As Integer, _
	Handled As Boolean)
End Sub
Dim applicationEvents4_MailMergeWizardStateChangeEventHandler1 As New ApplicationEvents4_MailMergeWizardStateChangeEventHandler(AddressOf Sub1)

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

Parameters

Doc

The mail merge main document.

FromState

The Mail Merge Wizard step from which a user is moving.

ToState

The Mail Merge Wizard step to which a user is moving.

Handled

True moves the user to the next step. False for the user to remain at the current step.

Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft