Export (0) Print
Expand All

Body.getTypeAsync method (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Gets a value that indicates whether the content is in HTML or text format. This method was introduced in version 1.1.

Last modified: June 26, 2014

Applicable Outlook modes

Compose

Available in requirement sets

Mailbox

Office.context.mailbox.item.getTypeAsync([options,] callback);

options

Any optional parameters or state data passed to the method. Optional.

callback

The method to call when the getTypeAsync method returns. Optional.

The getTypeAsync method starts the process of getting the type of body for an item. When the asynchronous call finishes, the method specified in the callback parameter is called with one parameter, asyncResult, which contains the body type in its value property.

App types

Mail app

Supported clients

Outlook 2013 SP1, Outlook 2013 RT, Outlook Web App, and OWA for Devices

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft