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)

event DocumentEvents2_XMLAfterInsertEventHandler XMLAfterInsert

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.

© 2015 Microsoft