Occurs when an object is about to be deleted.
The ObjectDeleting event handler receives an argument of the ObjectManipulationEventArgs type. The following properties provide information specific to this event.
|Object||Gets the object currently being processed.|
|Session||Gets the session whose persistent object is currently being processed.|
An object's IXPObject.OnDeleting event is raised after the ObjectDeleting event.
An object can be deleted using the XPBaseObject.Delete method.