Document.XMLBeforeDelete Event

Occurs when a user deletes an XML element from a document. If more than one element is deleted from the document at the same time (for example, when cutting and pasting XML), the event is raised for each element that is deleted.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Event XMLBeforeDelete As DocumentEvents2_XMLBeforeDeleteEventHandler
event DocumentEvents2_XMLBeforeDeleteEventHandler XMLBeforeDelete

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace