IRemovalAware

References
public interface IRemovalAware
Implements this interface in your IDocumentObject to be notified when your object is about to be deleted by the user.

Methods

PrepareForRemoval

#
void PrepareForRemoval(ActionList actions)
This method will be called prior to the removal of this object.
actions (ActionList)Append any undo actions to this list.