次の方法で共有


UserPermission.Parent プロパティ

UserPermission オブジェクトの親オブジェクトを返します。

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

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

構文

'宣言
<DispIdAttribute(3)> _
ReadOnly Property Parent As Object
'使用
Dim instance As UserPermission
Dim value As Object

value = instance.Parent
[DispIdAttribute(3)] 
Object Parent { get; }

プロパティ値

UserPermission オブジェクトの親オブジェクト。

コメント

UserPermission オブジェクトとそのメンバは Microsoft Office InfoPath 2007 の新しい機能なので、このオブジェクトとそのメンバにアクセスするには、thisXDocument 変数によって返されるオブジェクトを _XDocument3 型にキャストする必要があります。詳細については、「[方法] InfoPath 2003 と互換性のない Microsoft.Office.Interop.InfoPath.SemiTrust のメンバを使用する方法」を参照してください。

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

関連項目

参照

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