_Application Interface

Definition

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.

public interface class _Application
[System.Runtime.InteropServices.Guid("00063001-0000-0000-C000-000000000046")]
public interface _Application
Public Interface _Application
Derived
Attributes

Properties

AnswerWizard

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

Application

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

Assistance

Returns an IAssistance

Assistant

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

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 (string in C#) 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.

FeatureInstall

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

Inspectors

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

IsTrusted

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

LanguageSettings

Returns a LanguageSettings

Name

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

Parent

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

PickerDialog

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

ProductCode

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

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 (string in C#) indicating the number of the version. Read-only.

Methods

ActiveExplorer()

Returns the topmost Explorer object on the desktop.

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.

AdvancedSearch(String, Object, Object, Object)

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

CopyFile(String, String)

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

CreateItem(OlItemType)

Creates and returns a new Microsoft Outlook item.

CreateItemFromTemplate(String, Object)

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

CreateObject(String)

Creates an Automation object of the specified class.

GetNamespace(String)

Returns a NameSpace object of the specified type.

GetNewNickNames(Object)

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

GetObjectReference(Object, OlReferenceType)

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

IsSearchSynchronous(String)

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

Quit()

Closes all currently open windows.

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.

Applies to