DocumentEvents2_Event::XMLAfterInsert event

Occurs when a user adds a new XML element to a document.

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

No code example is currently available or this language may not be supported.

If more than one element is added to the document at the same time (for example, when cutting and pasting XML), the event fires for each element that is inserted.

Show: