Share via


InspectorEvents_10_Event.Close Event

Occurs when the inspector associated with a Microsoft Outlook item is being closed.

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

Syntax

'Declaration
Event Close As InspectorEvents_10_CloseEventHandler
'Usage
Dim instance As InspectorEvents_10_Event
Dim handler As InspectorEvents_10_CloseEventHandler

AddHandler instance.Close, handler
event InspectorEvents_10_CloseEventHandler Close

Remarks

If you use the Close method to fire this event, it can only be canceled if the Close method uses the olPromptForSave argument.

See Also

Reference

InspectorEvents_10_Event Interface

InspectorEvents_10_Event Members

Microsoft.Office.Interop.Outlook Namespace