0
私はgetAsyncメソッドを使用して、非同期呼び出しである本文コンテンツを取得しました。電子メールコンテンツをOffice.context.mailbox.item.bodyから同期的に取得します。
// Get the body asynchronous as text
body.getAsync(Office.CoercionType.Text, function (asyncResult) {
if (asyncResult.status !== Office.AsyncResultStatus.Succeeded) {
// We got an error while making the asyn call
}
else {
// Call succeeded do something here
}
});
しかし、メールの内容を同期して読みたいと思います。これはどのように達成できますか?
フィードバックをいただけますか?私の答えはあなたを助けますか? –