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 XMLBeforeDeleteAsDocumentEvents2_XMLBeforeDeleteEventHandler
DiminstanceAsDocumentEvents2_EventDimhandlerAsDocumentEvents2_XMLBeforeDeleteEventHandlerAddHandler instance.XMLBeforeDelete, handler

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.

© 2014 Microsoft