This event is fired when an object is deleted from the object class.
[Visual Basic 6.0] Event OnDelete(
ByVal obj As IObject _
[Visual Basic .NET] Public Event OnDelete As OnDeleteEventHandler
[C#] public event OnDeleteEventHandler OnDelete
[C++] HRESULT OnDelete( IObject* obj );
obj is a parameter of type IObject