_Application Members

Include Protected Members
Include Inherited Members

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see 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.
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Public property Assistance Returns an IAssistance object used to invoke help. Read-only.
Public property Assistant This object, member, or enumeration is deprecated and is not intended to be used in your code.
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Public property COMAddIns Returns a COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Outlook.
Public property DefaultProfileName Returns a String (string in C#) representing the name of the default profile name. Read-only.
Public property Explorers Returns an Explorers collection object that contains the Explorer objects representing all open explorers. Read-only.
Public property FeatureInstall This object, member, or enumeration is deprecated and is not intended to be used in your code.
Public property Inspectors Returns an Inspectors collection object that contains the Inspector objects representing all open inspectors. Read-only.
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
Public property LanguageSettings Returns a LanguageSettings object for the application that contains the language-specific attributes of Outlook. Read-only.
Public property Name Returns a String (string in C#) value that represents the display name for the object. Read-only.
Public property Parent Returns the parent Object of the specified object. Read-only.
Public property PickerDialog Returns a PickerDialog object that provides the functionality to select people or data in a dialog box. Read-only.
Public property ProductCode Returns a String (string in C#) specifying the Microsoft Outlook globally unique identifier (GUID). Read-only.
Public property Reminders Returns a Reminders collection that represents all current reminders. Read-only.
Public property Session Returns the NameSpace object for the current session. Read-only.
Public property TimeZones Returns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only.
Public property Version Returns or sets a String (string in C#) indicating the number of the version. Read-only.

Top

Methods

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

Top

See Also

Reference

_Application Interface

Microsoft.Office.Interop.Outlook Namespace