ApplicationEvents4_XMLSelectionChangeEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Delegate type used to add an event handler for the XMLSelectionChange event. The XMLSelectionChange event occurs when the parent XML node of the current selection changes.
public delegate void ApplicationEvents4_XMLSelectionChangeEventHandler(Selection ^ Sel, XMLNode ^ OldXMLNode, XMLNode ^ NewXMLNode, int % Reason);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ApplicationEvents4_XMLSelectionChangeEventHandler(Selection Sel, XMLNode OldXMLNode, XMLNode NewXMLNode, ref int Reason);
type ApplicationEvents4_XMLSelectionChangeEventHandler = delegate of Selection * XMLNode * XMLNode * int -> unit
Public Delegate Sub ApplicationEvents4_XMLSelectionChangeEventHandler(Sel As Selection, OldXMLNode As XMLNode, NewXMLNode As XMLNode, ByRef Reason As Integer)
Parameters
- Sel
- Selection
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.
- NewXMLNode
- XMLNode
XMLNode. The XML node to which the insertion point is moving.
- Reason
- Int32
Required Integer. The reason why the selection has changed. Can be any of the WdXMLSelectionChangeReason constants.
- Attributes