ItemType enumeration (JavaScript API for Office)

Office Add-ins

Last modified: June 22, 2015

Note Note

The name "apps for Office" is changing to "Office Add-ins". During the transition, the documentation and the UI of some Office host applications and Visual Studio tools might still use the term "apps for Office". For details, see New name for apps for Office and SharePoint.

Specifies an item's type.

Hosts:Outlook

App type: Mail

Available in requirement sets

Mailbox

Added in Mailbox

1.0

Applicable Outlook modes

Compose or read

See all support details

Office.MailboxEnums.ItemType = {
   Message: "message";
   Appointment: "appointment";
}

Member name

Description

Appointment

Specifies an appointment item. This is an IPM.Appointment type.

Message

A meeting request, response, or cancellation. This corresponds to the following message classes in Outlook:

IPM.Schedule.Meeting.Request

IPM.Schedule.Meeting.Neg

IPM.Schedule.Meeting.Pos

IPM.Schedule.Meeting.Tent

IPM.Schedule.Meeting.Canceled

A checkmark (√) in the following table indicates that this enumeration is supported in the corresponding Outlook host application. An empty cell indicates that the Outlook host application doesn't support this enumeration.

For more information about Office host application and server requirements, see Requirements for running apps for Office.

Supported hosts, by platform

Office for Windows desktop

Office Online
(in browser)

OWA for Devices

Office for Mac

Outlook

√ (Read mode only)

Available in requirement sets

Mailbox

Minimum permission level

ReadItem

App types

Mail

Library

Office.js

Namespace

Office

Version

Changes

1.0

Introduced

Show:
© 2015 Microsoft