Office.NodeDeletedEventArgs interface

Provides information about the deleted node that raised the nodeDeleted event.

Properties

isUndoRedo

Gets whether the node was deleted as part of an Undo/Redo action by the user.

oldNextSibling

Gets the former next sibling of the node that was just deleted from the Office.CustomXmlPart object.

oldNode

Gets the node which was just deleted from the Office.CustomXmlPart object.

Note that this node may have children, if a subtree is being removed from the document. Also, this node will be a "disconnected" node in that you can query down from the node, but you cannot query up the tree - the node appears to exist alone.

Property Details

isUndoRedo

Gets whether the node was deleted as part of an Undo/Redo action by the user.

isUndoRedo: boolean;

Property Value

boolean

oldNextSibling

Gets the former next sibling of the node that was just deleted from the Office.CustomXmlPart object.

oldNextSibling: CustomXmlNode;

Property Value

oldNode

Gets the node which was just deleted from the Office.CustomXmlPart object.

Note that this node may have children, if a subtree is being removed from the document. Also, this node will be a "disconnected" node in that you can query down from the node, but you cannot query up the tree - the node appears to exist alone.

oldNode: CustomXmlNode;

Property Value