MobileItem.Unload Event (Outlook)
Occurs before an item is unloaded from memory, either programmatically or by user action.
Version Information
Version Added: Outlook 2010
Syntax
expression .Unload
expression A variable that represents a MobileItem object.
Remarks
This event occurs after the Close event for the item occurs, but before the item is unloaded from memory, allowing an add-in to release any resources related to the object. Although the event occurs before the item is unloaded from memory, this event cannot be canceled.
Note
This event is meant only as a notification event, so that an add-in can dereference the object. An error occurs if any property or method for this object is called within the Unload event.