次の方法で共有


Office.DialogMessageOptions interface

ダイアログとその親の間で、どちらの方向でもメッセージを送信する方法のオプションを提供します。

注釈

要件セット: DialogOrigin 1.1

プロパティ

targetOrigin

ダイアログとその親の間で、どちらの方向でも送信されるメッセージの目的の受信者ドメインを指定します。 たとえば、 https://resources.contoso.com

プロパティの詳細

targetOrigin

ダイアログとその親の間で、どちらの方向でも送信されるメッセージの目的の受信者ドメインを指定します。 たとえば、 https://resources.contoso.com

targetOrigin: string;

プロパティ値

string

// The following example shows how to send a message to the domain of the parent runtime.
Office.context.ui.messageParent("Some message", { targetOrigin: "https://resource.contoso.com" });