Share via


Office.MailboxEnums.ComposeType enum

メッセージの新規作成の種類を指定します。

注釈

[ API セット: メールボックス 1.10 ]

適用できる Outlook モード: 新規作成

// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/90-other-item-apis/work-with-client-signatures.yaml

// Get the compose type of the current message.
Office.context.mailbox.item.getComposeTypeAsync(function(asyncResult) {
  if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {
    console.log(
      "getComposeTypeAsync succeeded with composeType: " +
        asyncResult.value.composeType +
        " and coercionType: " +
        asyncResult.value.coercionType
    );
  } else {
    console.error(asyncResult.error);
  }
});

フィールド

Reply = "reply"

返信。

NewMail = "newMail"

新しいメール。

Forward = "forward"

[転送] を選択します。