次の方法で共有


FormControl.Open メソッド (Stream)

ファイル ストリーム (System.IO.Stream) からフォーム ファイル (.xml) を開いて、FormControl オブジェクトに読み込みます。

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

構文

'宣言
Public Overridable Sub Open ( _
    xmlDataStream As Stream _
)
'使用
Dim instance As FormControl
Dim xmlDataStream As Stream

instance.Open(xmlDataStream)
public virtual void Open (
    Stream xmlDataStream
)

パラメータ

  • xmlDataStream
    フォーム ファイル (.xml) を含むファイル ストリーム (System.IO.IStream)。

コメント

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

関連項目

参照

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