Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

TaskItem.Unload Event

Office 2007
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.Unload

expression   A variable that represents a TaskItem object.

Remarks

This event occurs after the Close event for the Outlook item occurs, but before the Outlook item is unloaded from memory, allowing an add-in to release any resources related to the object. Although the event occurs before the Outlook item is unloaded from memory, this event cannot be canceled.

Bb175372.vs_note(en-us,office.12).gif  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.



Community Additions

Show:
© 2014 Microsoft. All rights reserved.