XMLBeforeDelete event

DocumentEvents2_Event.XMLBeforeDelete event

Occurs when a user deletes an XML element from a document.

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

event DocumentEvents2_XMLBeforeDeleteEventHandler XMLBeforeDelete

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

© 2016 Microsoft