Edit

Share via


Office.DroppedItemDetails interface

Provides the contents and details of the message or file attachment being dragged and dropped into an add-in's task pane.

Remarks

[ API set: Mailbox 1.5 ]

To learn more about the drag-and-drop feature and how to implement it across various Outlook clients, see Drag and drop messages and attachments into the task pane of an Outlook add-in.

Properties

fileContent

Gets the contents of the file being dragged and dropped.

name

Gets the name of the file being dragged and dropped.

type

Gets the type of the file being dragged and dropped.

Property Details

fileContent

Gets the contents of the file being dragged and dropped.

fileContent: Blob;

Property Value

Blob

Remarks

[ API set: Mailbox 1.5 ]

For guidance on how to retrieve data from a Blob, see the File API documentation.

name

Gets the name of the file being dragged and dropped.

name: string;

Property Value

string

Remarks

[ API set: Mailbox 1.5 ]

type

Gets the type of the file being dragged and dropped.

type: string;

Property Value

string

Remarks

[ API set: Mailbox 1.5 ]

Important: When a message is dragged into an add-in's task pane, it's dropped as a .eml file.