次の方法で共有


FormControl クラス

Microsoft Office InfoPath 2007 フォーム編集環境を .NET ベースのカスタム アプリケーションに統合するために使用するホスト可能なオブジェクト。

名前空間: Microsoft.Office.InfoPath
アセンブリ: Microsoft.Office.InfoPath.FormControl (microsoft.office.infopath.formcontrol.dll 内)

構文

'宣言
<DesignTimeVisibleAttribute(True)> _
<ClsidAttribute("{80756399-5146-11d5-a672-00b0d022e945}")> _
<DescriptionAttribute("Microsoft Office InfoPath")> _
<ToolboxItemAttribute(True)> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name:="FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name:="FullTrust")> _
Public Class FormControl
    Inherits AxHost
    Implements IAdviseSink
'使用
Dim instance As FormControl
[DesignTimeVisibleAttribute(true)] 
[ClsidAttribute("{80756399-5146-11d5-a672-00b0d022e945}")] 
[DescriptionAttribute("Microsoft Office InfoPath")] 
[ToolboxItemAttribute(true)] 
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust")] 
[PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust")] 
public class FormControl : AxHost, IAdviseSink

コメント

FormControl エディタ オブジェクトは、フォーム テンプレートを開いたり閉じたり、.NET ベースのカスタム アプリケーションのホスト環境と通信したりするためのさまざまなプロパティやメソッドを提供します。Microsoft.Office.InfoPath.Server アセンブリは、カスタム Web ページ (.aspx) で使用するためのホスト可能な XmlFormView コントロールを提供します。

FormControl オブジェクトの詳細については、「カスタム Windows フォーム アプリケーションで InfoPath 2007 フォーム編集環境をホストする」および「InfoPath 開発者向けの新機能」の「コントロールとしてホストされる InfoPath エディタ」を参照してください。カスタム Web ページでの XmlFormView コントロールの使用方法の詳細については、「カスタム Web フォームで InfoPath 2007 フォーム編集環境をホストする」を参照してください。

継承階層

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Windows.Forms.Control
         System.Windows.Forms.AxHost
          Microsoft.Office.InfoPath.FormControl

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

関連項目

参照

FormControl のメンバ
Microsoft.Office.InfoPath 名前空間