_Application3.UnregisterSolution(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したフォーム テンプレートをアンインストールします。
public:
void UnregisterSolution(System::String ^ bstrSolutionURI);
public void UnregisterSolution (string bstrSolutionURI);
abstract member UnregisterSolution : string -> unit
Public Sub UnregisterSolution (bstrSolutionURI As String)
パラメーター
- bstrSolutionURI
- String
フォーム テンプレートの URI (Uniform Resource Identifier) を指定します。
実装
例
public void UninstallForm()
{
Microsoft.Office.Interop.InfoPath.Application infoPath =
new Microsoft.Office.Interop.InfoPath.ApplicationClass();
infoPath.<span class="label">UnregisterSolution</span>(@"C:\My Forms\MyFormTemplate.xsn");
}
<p>
<strong>Note</strong>: The above example assumes that the <xref data-throw-if-not-resolved="true" uid="Microsoft.Office.Interop.InfoPath"></xref> namespace is being used and that the Microsoft InfoPath 3.0 Type Library is referenced.</p>
public void UninstallForm()
{
Microsoft.Office.Interop.InfoPath.Application infoPath =
new Microsoft.Office.Interop.InfoPath.ApplicationClass();
infoPath.<span class="label">UnregisterSolution</span>(@"C:\My Forms\MyFormTemplate.xsn");
}
<p>
<strong>Note</strong>: The above example assumes that the <xref data-throw-if-not-resolved="true" uid="Microsoft.Office.Interop.InfoPath"></xref> namespace is being used and that the Microsoft InfoPath 3.0 Type Library is referenced.</p>
注釈
フォーム テンプレートを登録解除できない場合、UnregisterSolution メソッドはエラーを返します。
適用対象
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示