DocumentEvents2_Event.XMLBeforeDelete Event

Definition

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

public:
 event Microsoft::Office::Interop::Word::DocumentEvents2_XMLBeforeDeleteEventHandler ^ XMLBeforeDelete;
event Microsoft.Office.Interop.Word.DocumentEvents2_XMLBeforeDeleteEventHandler XMLBeforeDelete;
member this.XMLBeforeDelete : Microsoft.Office.Interop.Word.DocumentEvents2_XMLBeforeDeleteEventHandler 
Event XMLBeforeDelete As DocumentEvents2_XMLBeforeDeleteEventHandler 

Event Type

Remarks

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.

Applies to