Represents the entire Outlook application.
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
'Declaration <GuidAttribute("00063001-0000-0000-C000-000000000046")> _ Public Interface Application _ Inherits _Application, ApplicationEvents_11_Event
'Usage Dim instance As Application
[GuidAttribute("00063001-0000-0000-C000-000000000046")] public interface Application : _Application, ApplicationEvents_11_Event
This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Application. For information about the event members of the COM object, see ApplicationEvents_11_Event.
This is the only object in the hierarchy that can be returned by using the CreateObject method or the intrinsic Visual Basic GetObject function.
The Outlook Application object has several purposes:
As the root object, it allows access to other objects in the Outlook hierarchy.
It allows direct access to a new item created by using CreateItem, without having to traverse the object hierarchy.
It allows access to the active interface objects (the explorer and the inspector).
When you use Automation to control Microsoft Outlook from another application, you use the CreateObject method to create an Outlook Application object.