NodeInsertAndDeleteEventArgs Interface

 

Provides data for the AfterInsert and BeforeDelete events of an XMLNode control, and for the AfterInsert and BeforeDelete events of an XMLNodes control.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

[GuidAttribute("c878142e-6a71-4bf4-82fc-ba9122596104")]
public interface class NodeInsertAndDeleteEventArgs

NameDescription
System_CAPS_pubpropertyInUndoRedo

Gets a value that indicates whether an action was a result of an undo or redo command.

The following code example demonstrates event handlers for the AfterInsert and BeforeDelete events. These event handlers display a message box before an XMLNode is deleted from the document, and after an XMLNode is added to the document. The example also uses the RemoveChild method to delete a node and programmatically raise the BeforeDelete event. This example assumes that the current document contains an XMLNode named CustomerNode that contains a child node named CustomerDateNode.

No code example is currently available or this language may not be supported.
Return to top
Show: