次の方法で共有


ItemEvents_10_Event.Close Event

Occurs when the inspector associated with an item (which is an instance of the parent object) is being closed.

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

Syntax

'Declaration
Event Close As ItemEvents_10_CloseEventHandler
'Usage
Dim instance As ItemEvents_10_Event
Dim handler As ItemEvents_10_CloseEventHandler

AddHandler instance.Close, handler
event ItemEvents_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

ItemEvents_10_Event Interface

ItemEvents_10_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.ItemEvents_10_CloseEventHandler