Share via


ApplicationEvents_11_Event.ItemLoad Event

Occurs when an Outlook item is loaded into memory.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Event ItemLoad As ApplicationEvents_11_ItemLoadEventHandler
'Usage
Dim instance As ApplicationEvents_11_Event
Dim handler As ApplicationEvents_11_ItemLoadEventHandler

AddHandler instance.ItemLoad, handler
event ApplicationEvents_11_ItemLoadEventHandler ItemLoad

Remarks

This event occurs when the Outlook item begins to load into memory. Data for the item is not yet available, other than the values for the Class and MessageClass properties of the Outlook item, so an error occurs when calling any property other than Class or MessageClass for the Outlook item returned in Item. Similarly, an error occurs if you attempt to call any method from the Outlook item, or if you call the GetObjectReference method of the Application object on the Outlook item returned in Item.

This event is not raised when the following conditions occur:

  • An Outlook item is synchronized with a folder.

  • A server-side rule is triggered for an Outlook item.

  • A reminder is triggered for an Outlook item.

  • A Desktop Alert is displayed for an Outlook item.

See Also

Reference

ApplicationEvents_11_Event Interface

ApplicationEvents_11_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.ApplicationEvents_11_ItemLoadEventHandler