ApplicationEvents4_XMLSelectionChangeEventHandler Delegate

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.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_XMLSelectionChangeEventHandler ( _
    Sel As Selection, _
    OldXMLNode As XMLNode, _
    NewXMLNode As XMLNode, _
    ByRef Reason As Integer _
)
'Usage
Dim instance As New ApplicationEvents4_XMLSelectionChangeEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_XMLSelectionChangeEventHandler(
    Selection Sel,
    XMLNode OldXMLNode,
    XMLNode NewXMLNode,
    ref int Reason
)

Parameters

See Also

Reference

Microsoft.Office.Interop.Word Namespace