Office.SelectedItemDetails interface
Represents the properties of a message that's currently selected in Outlook.
Remarks
[Api set: Mailbox 1.13]
Minimum permission level: read/write mailbox
Applicable Outlook mode: Message Compose, Message Read
Properties
| conversation |
The identifier of the message conversation that contains the message that's currently selected. |
| has |
Returns |
| internet |
The internet message identifier of the message that's currently selected. |
| item |
The Exchange Web Services (EWS) item identifier of the message that's currently selected. |
| item |
The Outlook mode ( |
| item |
The type of the item that's currently selected. |
| subject | The description that appears in the subject field of the message that's currently selected. |
Property Details
conversationId
The identifier of the message conversation that contains the message that's currently selected.
conversationId: string;
Property Value
string
Remarks
[Api set: Mailbox 1.14]
Minimum permission level: read/write mailbox
Applicable Outlook mode: Message Compose, Message Read
hasAttachment
Returns true if the message that's currently selected contains an attachment.
hasAttachment: boolean;
Property Value
boolean
Remarks
[Api set: Mailbox 1.14]
Minimum permission level: read/write mailbox
Applicable Outlook mode: Message Compose, Message Read
internetMessageId
The internet message identifier of the message that's currently selected.
internetMessageId: string;
Property Value
string
Remarks
[Api set: Mailbox 1.14]
Minimum permission level: read/write mailbox
Applicable Outlook mode: Message Compose, Message Read
itemId
The Exchange Web Services (EWS) item identifier of the message that's currently selected.
itemId: string;
Property Value
string
Remarks
[Api set: Mailbox 1.13]
Minimum permission level: read/write mailbox
Applicable Outlook mode: Message Compose, Message Read
itemMode
The Outlook mode (Read or Compose) of the message that's currently selected.
itemMode: string;
Property Value
string
Remarks
[Api set: Mailbox 1.13]
Minimum permission level: read/write mailbox
Applicable Outlook mode: Message Compose, Message Read
itemType
The type of the item that's currently selected. Message is the only supported type at this time.
itemType: MailboxEnums.ItemType | string;
Property Value
Office.MailboxEnums.ItemType | string
Remarks
[Api set: Mailbox 1.13]
Minimum permission level: read/write mailbox
Applicable Outlook mode: Message Compose, Message Read
subject
The description that appears in the subject field of the message that's currently selected.
subject: string;
Property Value
string
Remarks
[Api set: Mailbox 1.13]
Minimum permission level: read/write mailbox
Applicable Outlook mode: Message Compose, Message Read