Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
public delegate void ApplicationEvents4_XMLSelectionChangeEventHandler( [In] Selection Sel, [In] XMLNode OldXMLNode, [In] XMLNode NewXMLNode, [In] ref int Reason );
public delegate void ApplicationEvents4_XMLSelectionChangeEventHandler( /*in*/Selection Sel, /*in*/XMLNode OldXMLNode, /*in*/XMLNode NewXMLNode, /*in*/int Reason );
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Selection. The text selected, including XML elements. If no text is selected, the Sel parameter returns either nothing or the first character to the right of the insertion point.
XMLNode. The XML node from which the insertion point is moving.
XMLNode. The XML node to which the insertion point is moving.
Required Integer. The reason why the selection has changed. Can be any of the WdXMLSelectionChangeReason constants.