Application Object Members
Outlook Developer Reference |
Represents the entire Outlook application.
Methods
Name | Description | |
---|---|---|
ActiveExplorer | Returns the topmost Explorer object on the desktop. If no explorer is active, returns Nothing. | |
ActiveInspector | Returns the topmost Inspector object on the desktop. | |
ActiveWindow | Returns an object representing the topmost Microsoft Outlook window on the desktop, either an Explorer or an Inspector object. If no Outlook explorer or inspector is open, returns Nothing. | |
AdvancedSearch | Performs a search based on a specified Microsoft SQL Server search string. | |
CopyFile | Copies a file from a specified location into a Microsoft Outlook store. | |
CreateItem | Creates and returns a new Microsoft Outlook item. | |
CreateItemFromTemplate | Creates a new Microsoft Outlook item from an Outlook template (.oft) and returns the new item. | |
CreateObject | Creates an Automation object of the specified class. If the application is already running, CreateObject will create a new instance. | |
GetNamespace | Returns a NameSpace object of the specified type. | |
GetObjectReference | Creates a strong or weak object reference for a specified Outlook object. | |
IsSearchSynchronous | Returns a Boolean indicating if a search will be synchronous or asynchronous. Read-only. | |
Quit | Closes all currently open windows. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the parent Outlook application for the object. Read-only. | |
Assistance | Returns an IAssistance object used to invoke help. Read-only. | |
Class | Returns an OlObjectClass constant indicating the object's class. Read-only. | |
COMAddIns | Returns a COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Outlook. | |
DefaultProfileName | Returns a String representing the name of the default profile name. Read-only. | |
Explorers | Returns an Explorers collection object that contains the Explorer objects representing all open explorers. Read-only. | |
Inspectors | Returns an Inspectors collection object that contains the Inspector objects representing all open inspectors. Read-only. | |
IsTrusted | Returns a Boolean to indicate if an add-in or external caller is considered trusted by Outlook. Read-only | |
LanguageSettings | Returns a LanguageSettings object for the application that contains the language-specific attributes of Outlook. Read-only. | |
Name | Returns the display name for the object. Read-only. | |
Parent | Returns the parent Object of the specified object. Read-only. | |
ProductCode | Returns a String specifying the Microsoft Outlook globally unique identifier (GUID). Read-only. | |
Reminders | Returns a Reminders collection that represents all current reminders. Read-only. | |
Session | Returns the NameSpace object for the current session. Read-only. | |
TimeZones | Returns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only. | |
Version | Returns or sets a String indicating the number of the version. Read-only. |
Events
Name | Description | |
---|---|---|
AdvancedSearchComplete | Occurs when the AdvancedSearch method has completed. The AdvancedSearchComplete event is used to return the object that was created by the AdvancedSearch method. | |
AdvancedSearchStopped | Occurs when a specified Search object's Stop method has been executed. | |
AttachmentContextMenuDisplay | Occurs before a context menu is displayed for a collection of attachments. | |
BeforeFolderSharingDialog | Occurs before the Sharing dialog box is displayed for a selected Folder object. | |
ContextMenuClose | Occurs after a context menu is closed. | |
FolderContextMenuDisplay | Occurs before a context menu is displayed for a folder. | |
ItemContextMenuDisplay | Occurs before a context menu is displayed for a collection of Outlook items. | |
ItemLoad | Occurs when an Outlook item is loaded into memory. | |
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. | |
MAPILogonComplete | Occurs after the user has logged onto the system. | |
NewMail | Occurs when one or more new e-mail messages are received in the Inbox. | |
NewMailEx | Occurs when one or more new items are received in the Inbox. | |
OptionsPagesAdd | Occurs whenever the Options dialog box (on the Tools menu) or a folder Properties dialog box is opened. | |
Quit | Occurs when Outlook begins to close. | |
Reminder | Occurs immediately before a reminder is displayed. | |
ShortcutContextMenuDisplay | Occurs before a context menu is displayed for a shortcut. | |
Startup | Occurs when Microsoft Outlook is starting, but after all add-in programs have been loaded. | |
StoreContextMenuDisplay | Occurs before a context menu is displayed for a store. | |
ViewContextMenuDisplay | Occurs before a context menu is displayed for a view. |