Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Show:
© 2015 Microsoft