Freigeben über


Application Object Members

Outlook Developer Reference

Represents the entire Outlook application.

Methods

  Name Description
Bb176630.methods(en-us,office.12).gif ActiveExplorer Returns the topmost Explorer object on the desktop. If no explorer is active, returns Nothing.
Bb176630.methods(en-us,office.12).gif ActiveInspector Returns the topmost Inspector object on the desktop.
Bb176630.methods(en-us,office.12).gif 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.
Bb176630.methods(en-us,office.12).gif AdvancedSearch Performs a search based on a specified Microsoft SQL Server search string.
Bb176630.methods(en-us,office.12).gif CopyFile Copies a file from a specified location into a Microsoft Outlook store.
Bb176630.methods(en-us,office.12).gif CreateItem Creates and returns a new Microsoft Outlook item.
Bb176630.methods(en-us,office.12).gif CreateItemFromTemplate Creates a new Microsoft Outlook item from an Outlook template (.oft) and returns the new item.
Bb176630.methods(en-us,office.12).gif CreateObject Creates an Automation object of the specified class. If the application is already running, CreateObject will create a new instance.
Bb176630.methods(en-us,office.12).gif GetNamespace Returns a NameSpace object of the specified type.
Bb176630.methods(en-us,office.12).gif GetObjectReference Creates a strong or weak object reference for a specified Outlook object.
Bb176630.methods(en-us,office.12).gif IsSearchSynchronous Returns a Boolean indicating if a search will be synchronous or asynchronous. Read-only.
Bb176630.methods(en-us,office.12).gif Quit Closes all currently open windows.

Properties

  Name Description
Bb176630.properties(en-us,office.12).gif Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Bb176630.properties(en-us,office.12).gif Assistance Returns an IAssistance object used to invoke help. Read-only.
Bb176630.properties(en-us,office.12).gif Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Bb176630.properties(en-us,office.12).gif COMAddIns Returns a COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Outlook.
Bb176630.properties(en-us,office.12).gif DefaultProfileName Returns a String representing the name of the default profile name. Read-only.
Bb176630.properties(en-us,office.12).gif Explorers Returns an Explorers collection object that contains the Explorer objects representing all open explorers. Read-only.
Bb176630.properties(en-us,office.12).gif Inspectors Returns an Inspectors collection object that contains the Inspector objects representing all open inspectors. Read-only.
Bb176630.properties(en-us,office.12).gif IsTrusted Returns a Boolean to indicate if an add-in or external caller is considered trusted by Outlook. Read-only
Bb176630.properties(en-us,office.12).gif LanguageSettings Returns a LanguageSettings object for the application that contains the language-specific attributes of Outlook. Read-only.
Bb176630.properties(en-us,office.12).gif Name Returns the display name for the object. Read-only.
Bb176630.properties(en-us,office.12).gif Parent Returns the parent Object of the specified object. Read-only.
Bb176630.properties(en-us,office.12).gif ProductCode Returns a String specifying the Microsoft Outlook globally unique identifier (GUID). Read-only.
Bb176630.properties(en-us,office.12).gif Reminders Returns a Reminders collection that represents all current reminders. Read-only.
Bb176630.properties(en-us,office.12).gif Session Returns the NameSpace object for the current session. Read-only.
Bb176630.properties(en-us,office.12).gif TimeZones Returns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only.
Bb176630.properties(en-us,office.12).gif Version Returns or sets a String indicating the number of the version. Read-only.

Events

  Name Description
Bb176630.events(en-us,office.12).gif AdvancedSearchComplete Occurs when the AdvancedSearch method has completed. The AdvancedSearchComplete event is used to return the object that was created by the AdvancedSearch method.
Bb176630.events(en-us,office.12).gif AdvancedSearchStopped Occurs when a specified Search object's Stop method has been executed.
Bb176630.events(en-us,office.12).gif AttachmentContextMenuDisplay Occurs before a context menu is displayed for a collection of attachments.
Bb176630.events(en-us,office.12).gif BeforeFolderSharingDialog Occurs before the Sharing dialog box is displayed for a selected Folder object.
Bb176630.events(en-us,office.12).gif ContextMenuClose Occurs after a context menu is closed.
Bb176630.events(en-us,office.12).gif FolderContextMenuDisplay Occurs before a context menu is displayed for a folder.
Bb176630.events(en-us,office.12).gif ItemContextMenuDisplay Occurs before a context menu is displayed for a collection of Outlook items.
Bb176630.events(en-us,office.12).gif ItemLoad Occurs when an Outlook item is loaded into memory.
Bb176630.events(en-us,office.12).gif 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.
Bb176630.events(en-us,office.12).gif MAPILogonComplete Occurs after the user has logged onto the system.
Bb176630.events(en-us,office.12).gif NewMail Occurs when one or more new e-mail messages are received in the Inbox.
Bb176630.events(en-us,office.12).gif NewMailEx Occurs when one or more new items are received in the Inbox.
Bb176630.events(en-us,office.12).gif OptionsPagesAdd Occurs whenever the Options dialog box (on the Tools menu) or a folder Properties dialog box is opened.
Bb176630.events(en-us,office.12).gif Quit Occurs when Outlook begins to close.
Bb176630.events(en-us,office.12).gif Reminder Occurs immediately before a reminder is displayed.
Bb176630.events(en-us,office.12).gif ShortcutContextMenuDisplay Occurs before a context menu is displayed for a shortcut.
Bb176630.events(en-us,office.12).gif Startup Occurs when Microsoft Outlook is starting, but after all add-in programs have been loaded.
Bb176630.events(en-us,office.12).gif StoreContextMenuDisplay Occurs before a context menu is displayed for a store.
Bb176630.events(en-us,office.12).gif ViewContextMenuDisplay Occurs before a context menu is displayed for a view.