Application Application Application Interface

Definition

Represents the entire Outlook application.

public interface class Application : Microsoft::Office::Interop::Outlook::_Application, Microsoft::Office::Interop::Outlook::ApplicationEvents_11_Event
[System.Runtime.InteropServices.Guid("00063001-0000-0000-C000-000000000046")]
public interface Application : Microsoft.Office.Interop.Outlook._Application, Microsoft.Office.Interop.Outlook.ApplicationEvents_11_Event
Public Interface Application
Implements _Application, ApplicationEvents_11_Event
Derived
Attributes
Implements

Remarks

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(String) method or the intrinsic Visual Basic GetObject function.

The Outlook Application object has several purposes:

When you use Automation to control Microsoft Outlook from another application, you use the CreateObject method to create an Outlook Application object.

Methods

ActiveExplorer() ActiveExplorer() ActiveExplorer()

Returns the topmost Explorer object on the desktop.

(Inherited from _Application)

ActiveInspector() ActiveInspector() ActiveInspector()

Returns the topmost Inspector object on the desktop.

(Inherited from _Application)

ActiveWindow() ActiveWindow() ActiveWindow()

Returns an object representing the topmost Microsoft Outlook window on the desktop, either an Explorer or an Inspector object.

(Inherited from _Application)

AdvancedSearch(String, Object, Object, Object) AdvancedSearch(String, Object, Object, Object) AdvancedSearch(String, Object, Object, Object)

Performs a search based on a specified DAV Searching and Locating (DASL) search string.

(Inherited from _Application)

CopyFile(String, String) CopyFile(String, String) CopyFile(String, String)

Copies a file from a specified location into a Microsoft Outlook store.

(Inherited from _Application)

CreateItem(OlItemType) CreateItem(OlItemType) CreateItem(OlItemType)

Creates and returns a new Microsoft Outlook item.

(Inherited from _Application)

CreateItemFromTemplate(String, Object) CreateItemFromTemplate(String, Object) CreateItemFromTemplate(String, Object)

Creates a new Microsoft Outlook item from an Outlook template (.oft) and returns the new item.

(Inherited from _Application)

CreateObject(String) CreateObject(String) CreateObject(String)

Creates an Automation object of the specified class.

(Inherited from _Application)

GetNamespace(String) GetNamespace(String) GetNamespace(String)

Returns a NameSpace object of the specified type.

(Inherited from _Application)

GetNewNickNames(Object) GetNewNickNames(Object) GetNewNickNames(Object)

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Application)

GetObjectReference(Object, OlReferenceType) GetObjectReference(Object, OlReferenceType) GetObjectReference(Object, OlReferenceType)

Creates a strong or weak object reference for a specified Outlook object.

(Inherited from _Application)

IsSearchSynchronous(String) IsSearchSynchronous(String) IsSearchSynchronous(String)

Returns a Boolean (bool in C#) indicating if a search will be synchronous or asynchronous.

(Inherited from _Application)

RefreshFormRegionDefinition(String) RefreshFormRegionDefinition(String) RefreshFormRegionDefinition(String)

Refreshes the cache by obtaining the current definition from the Windows registry for one or all of the form regions that are defined for the local machine and the current user.

(Inherited from _Application)

Properties

AnswerWizard AnswerWizard AnswerWizard

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Application)

Application Application Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _Application)

Assistance Assistance Assistance

Returns an IAssistance

(Inherited from _Application)

Assistant Assistant Assistant

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Application)

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _Application)

COMAddIns COMAddIns COMAddIns

Returns a COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Outlook.

(Inherited from _Application)

DefaultProfileName DefaultProfileName DefaultProfileName

Returns a String (string in C#) representing the name of the default profile name. Read-only.

(Inherited from _Application)

Explorers Explorers Explorers

Returns an Explorers collection object that contains the Explorer objects representing all open explorers. Read-only.

(Inherited from _Application)

FeatureInstall FeatureInstall FeatureInstall

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Application)

Inspectors Inspectors Inspectors

Returns an Inspectors collection object that contains the Inspector objects representing all open inspectors. Read-only.

(Inherited from _Application)

IsTrusted IsTrusted IsTrusted

Returns a Boolean (bool in C#) to indicate if an add-in or external caller is considered trusted by Outlook. Read-only

(Inherited from _Application)

LanguageSettings LanguageSettings LanguageSettings

Returns a LanguageSettings

(Inherited from _Application)

Name Name Name

Returns a String (string in C#) value that represents the display name for the object. Read-only.

(Inherited from _Application)

Parent Parent Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _Application)

PickerDialog PickerDialog PickerDialog

Returns a PickerDialog object that provides the functionality to select people or data in a dialog box. Read-only.

(Inherited from _Application)

ProductCode ProductCode ProductCode

Returns a String (string in C#) specifying the Microsoft Outlook globally unique identifier (GUID)

(Inherited from _Application)

Reminders Reminders Reminders

Returns a Reminders collection that represents all current reminders. Read-only.

(Inherited from _Application)

Session Session Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _Application)

TimeZones TimeZones TimeZones

Returns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only.

(Inherited from _Application)

Version Version Version

Returns or sets a String (string in C#) indicating the number of the version. Read-only.

(Inherited from _Application)

Events

AdvancedSearchComplete AdvancedSearchComplete AdvancedSearchComplete

Occurs when the AdvancedSearch(String, Object, Object, Object) method has completed.

(Inherited from ApplicationEvents_11_Event)

AdvancedSearchStopped AdvancedSearchStopped AdvancedSearchStopped

Occurs when a specified Search object's Stop() method has been executed.

(Inherited from ApplicationEvents_11_Event)

AttachmentContextMenuDisplay AttachmentContextMenuDisplay AttachmentContextMenuDisplay

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from ApplicationEvents_11_Event)

BeforeFolderSharingDialog BeforeFolderSharingDialog BeforeFolderSharingDialog

Occurs before the Sharing dialog box is displayed for a selected Folder object.

(Inherited from ApplicationEvents_11_Event)

ContextMenuClose ContextMenuClose ContextMenuClose

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from ApplicationEvents_11_Event)

FolderContextMenuDisplay FolderContextMenuDisplay FolderContextMenuDisplay

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from ApplicationEvents_11_Event)

ItemContextMenuDisplay ItemContextMenuDisplay ItemContextMenuDisplay

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from ApplicationEvents_11_Event)

ItemLoad ItemLoad ItemLoad

Occurs when an Outlook item is loaded into memory.

(Inherited from ApplicationEvents_11_Event)

ItemSend ItemSend ItemSend

Occurs whenever an Outlook item is sent, either by the user through an Inspector (before the inspector is closed, but after the user clicks the Send button) or when the Send() method for an Outlook item, such as MailItem, is used in a program.

(Inherited from ApplicationEvents_11_Event)

MAPILogonComplete MAPILogonComplete MAPILogonComplete

Occurs after the user has logged onto the system.

(Inherited from ApplicationEvents_11_Event)

NewMail NewMail NewMail

Occurs when one or more new e-mail messages are received in the Inbox.

(Inherited from ApplicationEvents_11_Event)

NewMailEx NewMailEx NewMailEx

Occurs when a new item is received in the Inbox.

(Inherited from ApplicationEvents_11_Event)

OptionsPagesAdd OptionsPagesAdd OptionsPagesAdd

Occurs whenever the user clicks the Add-in Options button on the Add-ins tab of the Outlook Options dialog box.

(Inherited from ApplicationEvents_11_Event)

Quit Quit Quit

Occurs when Outlook begins to close.

(Inherited from ApplicationEvents_11_Event)

Reminder Reminder Reminder

Occurs immediately before a reminder is displayed.

(Inherited from ApplicationEvents_11_Event)

ShortcutContextMenuDisplay ShortcutContextMenuDisplay ShortcutContextMenuDisplay

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from ApplicationEvents_11_Event)

Startup Startup Startup

Occurs when Microsoft Outlook is starting, but after all add-in programs have been loaded.

(Inherited from ApplicationEvents_11_Event)

StoreContextMenuDisplay StoreContextMenuDisplay StoreContextMenuDisplay

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from ApplicationEvents_11_Event)

ViewContextMenuDisplay ViewContextMenuDisplay ViewContextMenuDisplay

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from ApplicationEvents_11_Event)

Applies to