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
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
Event XMLBeforeDelete As DocumentEvents2_XMLBeforeDeleteEventHandler
event DocumentEvents2_XMLBeforeDeleteEventHandler XMLBeforeDelete
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.