Share via


HTMLTaskPaneExternal.Window プロパティ

定義

カスタム作業ウィンドウに関連付けられているオブジェクトへの WindowObject 参照を取得します。

public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::Window ^ Window { Microsoft::Office::Interop::InfoPath::SemiTrust::Window ^ get(); };
public Microsoft.Office.Interop.InfoPath.SemiTrust.Window Window { get; }
member this.Window : Microsoft.Office.Interop.InfoPath.SemiTrust.Window
Public ReadOnly Property Window As Window

プロパティ値

次の例では、オブジェクトは、 HTMLTaskPaneExternal DHTML オブジェクト モデルの一部である動的 HTML (DHTML) ウィンドウ オブジェクトの外部プロパティを使用して、InfoPath オブジェクト モデルの一部である WindowObject オブジェクトへの参照を設定します。

: 次のコードは、外部作業ウィンドウを表す HTML ファイルに存在します。

var objWindow;

objWindow  = window.external.<span class="label">Window</span>;
objWindow.MailEnvelope.Visible = true;

注釈

返される Window オブジェクトは、カスタム作業ウィンドウに関連付けられている現在アクティブな Microsoft InfoPath ウィンドウを表します。

重要: このメンバーには制限なしでアクセスできます。

適用対象