DocumentEvents2_Event.XMLBeforeDelete Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.