次の方法で共有


DocActionEvent.XDocument プロパティ

定義

イベント中にイベントに XDocument 関連付 DocActionEventObject けられているオブジェクトへの参照を OnClick 取得します。

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

プロパティ値

実装

次の例では、DocActionEvent オブジェクトの XDocument プロパティを使用して、XDocument オブジェクトへの参照を設定します。

public void showViewInfos_OnClick(DocActionEvent e)
{
XDocument doc = e.<span class="label">XDocument</span>;
}

注釈

XDocument オブジェクトへの参照を設定した後は、このオブジェクトのすべてのプロパティとメソッドを使用できます。

重要: このメンバーにアクセスできるのは、現在開いているフォームと同じドメインで実行されているフォーム、またはクロスドメインアクセス許可が付与されているフォームのみです。

適用対象