0 out of 1 rated this helpful - Rate this topic

ApplicationEvents4_Event.XMLSelectionChange Event 

Occurs when the parent XML node of the current selection changes.

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

'Usage
WithEvents applicationEvents4_Event1 As ApplicationEvents4_Event
Function applicationEvents4_Event1_XMLSelectionChange(Sel As Selection, _
	OldXMLNode As XMLNode, _
	NewXMLNode As XMLNode, _
	Reason As Integer) As Void
	Handles applicationEvents4_Event1.XMLSelectionChange
End Function

event ApplicationEvents4_XMLSelectionChangeEventHandler XMLSelectionChange;
 void add_XMLSelectionChange(ApplicationEvents4_XMLSelectionChangeEventHandler handler);
 void remove_XMLSelectionChange(ApplicationEvents4_XMLSelectionChangeEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Development Platforms

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

Target Platforms

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.