Office.DialogMessageOptions interface
ダイアログとその親の間で、どちらの方向でもメッセージを送信する方法のオプションを提供します。
注釈
要件セット: DialogOrigin 1.1
プロパティ
target |
ダイアログとその親の間で、どちらの方向でも送信されるメッセージの目的の受信者ドメインを指定します。 たとえば、 |
プロパティの詳細
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" });