次の方法で共有


_Application.Quit Method

Closes all currently open windows.

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

Syntax

'Declaration
<DispIdAttribute()> _
Sub Quit
'Usage
Dim instance As _Application

instance.Quit()
[DispIdAttribute()]
void Quit()

Remarks

The associated Outlook session is closed completely; the user is logged out of the messaging system and any changes to items not already saved are discarded.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Outlook Namespace