Partager via


Application Members

Include Protected Members
Include Inherited Members

Represents the entire Outlook application.

The Application type exposes the following members.

Properties

  Name Description
Public property AnswerWizard This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _Application.)
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _Application.)
Public property Assistance Returns an IAssistance object used to invoke help. Read-only. (Inherited from _Application.)
Public property Assistant This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _Application.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _Application.)
Public property COMAddIns Returns a COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Outlook. (Inherited from _Application.)
Public property DefaultProfileName Returns a String (string in C#) representing the name of the default profile name. Read-only. (Inherited from _Application.)
Public property Explorers Returns an Explorers collection object that contains the Explorer objects representing all open explorers. Read-only. (Inherited from _Application.)
Public property FeatureInstall This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _Application.)
Public property Inspectors Returns an Inspectors collection object that contains the Inspector objects representing all open inspectors. Read-only. (Inherited from _Application.)
Public property 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.)
Public property LanguageSettings Returns a LanguageSettings object for the application that contains the language-specific attributes of Outlook. Read-only. (Inherited from _Application.)
Public property Name Returns a String (string in C#) value that represents the display name for the object. Read-only. (Inherited from _Application.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _Application.)
Public property PickerDialog Returns a PickerDialog object that provides the functionality to select people or data in a dialog box. Read-only. (Inherited from _Application.)
Public property ProductCode Returns a String (string in C#) specifying the Microsoft Outlook globally unique identifier (GUID). Read-only. (Inherited from _Application.)
Public property Reminders Returns a Reminders collection that represents all current reminders. Read-only. (Inherited from _Application.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _Application.)
Public property TimeZones Returns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only. (Inherited from _Application.)
Public property Version Returns or sets a String (string in C#) indicating the number of the version. Read-only. (Inherited from _Application.)

Top

Methods

  Name Description
Public method ActiveExplorer Returns the topmost Explorer object on the desktop. (Inherited from _Application.)
Public method ActiveInspector Returns the topmost Inspector object on the desktop. (Inherited from _Application.)
Public method ActiveWindow Returns an object representing the topmost Microsoft Outlook window on the desktop, either an Explorer or an Inspector object. (Inherited from _Application.)
Public method AdvancedSearch Performs a search based on a specified DAV Searching and Locating (DASL) search string. (Inherited from _Application.)
Public method CopyFile Copies a file from a specified location into a Microsoft Outlook store. (Inherited from _Application.)
Public method CreateItem Creates and returns a new Microsoft Outlook item. (Inherited from _Application.)
Public method CreateItemFromTemplate Creates a new Microsoft Outlook item from an Outlook template (.oft) and returns the new item. (Inherited from _Application.)
Public method CreateObject Creates an Automation object of the specified class. (Inherited from _Application.)
Public method GetNamespace Returns a NameSpace object of the specified type. (Inherited from _Application.)
Public method GetNewNickNames This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _Application.)
Public method GetObjectReference Creates a strong or weak object reference for a specified Outlook object. (Inherited from _Application.)
Public method IsSearchSynchronous Returns a Boolean (bool in C#) indicating if a search will be synchronous or asynchronous. (Inherited from _Application.)
Public method Quit Closes all currently open windows. (Inherited from _Application.)
Public method RefreshFormRegionDefinition 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.)

Top

Events

  Name Description
Public event AdvancedSearchComplete Occurs when the AdvancedSearch method has completed. (Inherited from ApplicationEvents_11_Event.)
Public event AdvancedSearchStopped Occurs when a specified Search object's Stop method has been executed. (Inherited from ApplicationEvents_11_Event.)
Public event AttachmentContextMenuDisplay This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from ApplicationEvents_11_Event.)
Public event BeforeFolderSharingDialog Occurs before the Sharing dialog box is displayed for a selected Folder object. (Inherited from ApplicationEvents_11_Event.)
Public event ContextMenuClose This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from ApplicationEvents_11_Event.)
Public event FolderContextMenuDisplay This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from ApplicationEvents_11_Event.)
Public event ItemContextMenuDisplay This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from ApplicationEvents_11_Event.)
Public event ItemLoad Occurs when an Outlook item is loaded into memory. (Inherited from ApplicationEvents_11_Event.)
Public event 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.)
Public event MAPILogonComplete Occurs after the user has logged onto the system. (Inherited from ApplicationEvents_11_Event.)
Public event NewMail Occurs when one or more new e-mail messages are received in the Inbox. (Inherited from ApplicationEvents_11_Event.)
Public event NewMailEx Occurs when a new item is received in the Inbox. (Inherited from ApplicationEvents_11_Event.)
Public event 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.)
Public event Quit Occurs when Outlook begins to close. (Inherited from ApplicationEvents_11_Event.)
Public event Reminder Occurs immediately before a reminder is displayed. (Inherited from ApplicationEvents_11_Event.)
Public event ShortcutContextMenuDisplay This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from ApplicationEvents_11_Event.)
Public event Startup Occurs when Microsoft Outlook is starting, but after all add-in programs have been loaded. (Inherited from ApplicationEvents_11_Event.)
Public event StoreContextMenuDisplay This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from ApplicationEvents_11_Event.)
Public event ViewContextMenuDisplay This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from ApplicationEvents_11_Event.)

Top

See Also

Reference

Application Interface

Microsoft.Office.Interop.Outlook Namespace