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
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기