フォームに関連付けられているすべての UserPermission オブジェクトを削除します。
名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)
構文
'宣言
<DispIdAttribute(5)> _
Sub RemoveAll
'使用
Dim instance As Permission
instance.RemoveAll
[DispIdAttribute(5)]
void RemoveAll ()
例
次の例では、RemoveAll メソッドを使用して、フォームからすべてのユーザーを削除しています。
_XDocument3 thisDoc = (_XDocument3)thisXDocument;
thisDoc.Permission.RemoveAll();
Dim thisDoc As _XDocument3 = DirectCast(thisXDocument, _XDocument3)
thisDoc.Permission.RemoveAll()
関連項目
参照
Permission インターフェイス
Permission のメンバ
Microsoft.Office.Interop.InfoPath 名前空間