Office

The Office namespace provides shared interfaces that are used by add-ins in all of the Office apps. This listing documents only those interfaces that are used by Outlook add-ins. For a full listing of the Office namespace, see the Common API.

Requirements
Requirement Value
Minimum mailbox requirement set version 1.1
Applicable Outlook mode Compose or Read
Properties
Property Modes Return type Minimum
requirement set
context Compose
Read
Context 1.1
Enumerations
Enumeration Modes Return type Minimum
requirement set
AsyncResultStatus Compose
Read
String 1.1
CoercionType Compose
Read
String 1.1
EventType Compose
Read
String 1.5
SourceProperty Compose
Read
String 1.1

Namespaces

MailboxEnums: Includes a number of Outlook-specific enumerations, for example, ItemType, EntityType, AttachmentType, RecipientType, ResponseType, and ItemNotificationMessageType.

Enumeration details

AsyncResultStatus: String

Specifies the result of an asynchronous call.

Type
  • String
Properties:
Name Type Description
Succeeded String The call succeeded.
Failed String The call failed.
Requirements
Requirement Value
Minimum mailbox requirement set version 1.1
Applicable Outlook mode Compose or Read



CoercionType: String

Specifies how to coerce data returned or set by the invoked method.

Type
  • String
Properties:
Name Type Description
Html String Requests the data be returned in HTML format.
Text String Requests the data be returned in text format.
Requirements
Requirement Value
Minimum mailbox requirement set version 1.1
Applicable Outlook mode Compose or Read



EventType: String

Specifies the event associated with an event handler.

Type
  • String
Properties:
Name Type Description Minimum requirement set
AppointmentTimeChanged String The date or time of the selected appointment or series has changed. 1.7
ItemChanged String A different Outlook item is selected for viewing while the task pane is pinned. 1.5
RecipientsChanged String The recipient list of the selected item or appointment location has changed. 1.7
RecurrenceChanged String The recurrence pattern of the selected series has changed. 1.7
Requirements
Requirement Value
Minimum mailbox requirement set version 1.5
Applicable Outlook mode Compose or Read



SourceProperty: String

Specifies the source of the data returned by the invoked method.

Type
  • String
Properties:
Name Type Description
Body String The source of the data is from the body of a message.
Subject String The source of the data is from the subject of a message.
Requirements
Requirement Value
Minimum mailbox requirement set version 1.1
Applicable Outlook mode Compose or Read