_Application _Application _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 AnswerWizard AnswerWizard

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

Application Application Application

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

Assistance Assistance Assistance

Returns an IAssistance

Assistant Assistant Assistant

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

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

COMAddIns COMAddIns COMAddIns

Returns a COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Outlook.

DefaultProfileName DefaultProfileName DefaultProfileName

Returns a String (string in C#) representing the name of the default profile name. Read-only.

Explorers Explorers Explorers

Returns an Explorers collection object that contains the Explorer objects representing all open explorers. Read-only.

FeatureInstall FeatureInstall FeatureInstall

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

Inspectors Inspectors Inspectors

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

IsTrusted IsTrusted IsTrusted

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

LanguageSettings LanguageSettings LanguageSettings

Returns a LanguageSettings

Name Name Name

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

Parent Parent Parent

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

PickerDialog PickerDialog PickerDialog

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

ProductCode ProductCode ProductCode

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

Reminders Reminders Reminders

Returns a Reminders collection that represents all current reminders. Read-only.

Session Session Session

Returns the NameSpace object for the current session. Read-only.

TimeZones TimeZones TimeZones

Returns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only.

Version Version Version

Returns or sets a String (string in C#) indicating the number of the version. Read-only.

Methods

ActiveExplorer() ActiveExplorer() ActiveExplorer()

Returns the topmost Explorer object on the desktop.

ActiveInspector() ActiveInspector() ActiveInspector()

Returns the topmost Inspector object on the desktop.

ActiveWindow() ActiveWindow() 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) AdvancedSearch(String, Object, Object, Object) AdvancedSearch(String, Object, Object, Object)

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

CopyFile(String, String) CopyFile(String, String) CopyFile(String, String)

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

CreateItem(OlItemType) CreateItem(OlItemType) CreateItem(OlItemType)

Creates and returns a new Microsoft Outlook item.

CreateItemFromTemplate(String, Object) CreateItemFromTemplate(String, Object) CreateItemFromTemplate(String, Object)

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

CreateObject(String) CreateObject(String) CreateObject(String)

Creates an Automation object of the specified class.

GetNamespace(String) GetNamespace(String) GetNamespace(String)

Returns a NameSpace object of the specified type.

GetNewNickNames(Object) GetNewNickNames(Object) GetNewNickNames(Object)

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

GetObjectReference(Object, OlReferenceType) GetObjectReference(Object, OlReferenceType) GetObjectReference(Object, OlReferenceType)

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

IsSearchSynchronous(String) IsSearchSynchronous(String) IsSearchSynchronous(String)

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

Quit() Quit() Quit()

Closes all currently open windows.

RefreshFormRegionDefinition(String) RefreshFormRegionDefinition(String) 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