Office.AttachmentDetailsCompose interface
Represents an attachment on an item. Compose mode only.
An array of AttachmentDetailsCompose
objects is returned as the attachments property of an appointment or message item.
Remarks
Minimum permission level: read item
Applicable Outlook mode: Compose
Properties
attachment |
Gets a value that indicates the type of an attachment. |
id | Gets the index of the attachment. |
is |
Gets a value that indicates whether the attachment should be displayed in the body of the item. |
name | Gets the name of the attachment. Important: For message or appointment items that were attached by drag-and-drop or "Attach Item", |
size | Gets the size of the attachment in bytes. |
url | Gets the url of the attachment if its type is |
Property Details
attachmentType
Gets a value that indicates the type of an attachment.
attachmentType: MailboxEnums.AttachmentType | string;
Property Value
Office.MailboxEnums.AttachmentType | string
id
Gets the index of the attachment.
id: string;
Property Value
string
isInline
Gets a value that indicates whether the attachment should be displayed in the body of the item.
isInline: boolean;
Property Value
boolean
name
Gets the name of the attachment.
Important: For message or appointment items that were attached by drag-and-drop or "Attach Item", name
includes a file extension in Outlook on Mac, but excludes the extension on the web or on Windows.
name: string;
Property Value
string
size
Gets the size of the attachment in bytes.
size: number;
Property Value
number
url
Gets the url of the attachment if its type is MailboxEnums.AttachmentType.Cloud
.
url?: string;
Property Value
string
Office Add-ins