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
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
file |
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
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
type
Gets the type of the file being dragged and dropped.
type: string;
Property Value
string
Remarks
Important: When a message is dragged into an add-in's task pane, it's dropped as a .eml file.