次の方法で共有


DocContextChangeEvent.XDocument プロパティ

OnContextChange イベントで DocContextChangeEventObject オブジェクトに関連付けられた XDocument オブジェクトへの参照を取得します。

このプロパティは、CLS に準拠していません。  

名前空間: Microsoft.Office.Interop.InfoPath.SemiTrust
アセンブリ: Microsoft.Office.Interop.InfoPath.SemiTrust (microsoft.office.interop.infopath.semitrust.dll 内)

構文

'宣言
<DispIdAttribute(100)> _
ReadOnly Property XDocument As XDocument
'使用
Dim instance As DocContextChangeEvent
Dim value As XDocument

value = instance.XDocument
[DispIdAttribute(100)] 
XDocument XDocument { get; }

コメント

メモ重要 :

このメンバは、現在開いているフォームと同じドメイン内で実行されているフォーム、またはドメインを越えたアクセス許可を付与されているフォームだけがアクセスできます。

関連項目

参照

DocContextChangeEvent インターフェイス
DocContextChangeEvent のメンバ
Microsoft.Office.Interop.InfoPath.SemiTrust 名前空間