Export (0) Print
Expand All

AttachmentDetails object (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Represents an attachment on an item from the server.

Last modified: August 27, 2014

Applicable Outlook modes

Read

Available in requirement sets

Mailbox

Office.context.mailbox.item.attachments

Property name

Outlook mode

Description

Introduced in

attachmentType

Read

Gets one of the AttachmentType enumeration values that indicates whether the attachment is an Exchange item or a file.

Version 1.0

contentType

Read

Gets the MIME content type of the attachment.

Version 1.0

id

Read

Gets the Exchange Web Services (EWS) attachment identifier for the attachment.

Version 1.0

isInline

Read

Gets a value that indicates whether the attachment is an inline attachment.

Version 1.0

name

Read

Gets the name of the attachment.

Version 1.0

size

Read

Gets the size of the attachment in bytes.

Version 1.0

An array of AttachmentDetail objects is returned as the attachments property of an Item, Appointment, or Message objects.

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