ホストされているフォームのビューが変更されたときに実行するイベント ハンドラのバインドに使用されます。
名前空間: Microsoft.Office.InfoPath
アセンブリ: Microsoft.Office.InfoPath.FormControl (microsoft.office.infopath.formcontrol.dll 内)
構文
'宣言
Public Sub OnViewChange ( _
aspect As Integer, _
index As Integer _
)
'使用
Dim instance As FormControl
Dim aspect As Integer
Dim index As Integer
instance.OnViewChange(aspect, index)
public void OnViewChange (
int aspect,
int index
)
パラメータ
- aspect
オブジェクトのアスペクト、またはビュー。System.Runtime.InteropServices.ComTypes.DVASPECT 列挙から取得した値を含みます。
- index
変更されたビューの一部。現在は、有効な値は -1 のみです。
コメント
FormControl オブジェクトの詳細については、「カスタム Windows フォーム アプリケーションで InfoPath 2007 フォーム編集環境をホストする」および「InfoPath 開発者向けの新機能」の「コントロールとしてホストされる InfoPath エディタ」を参照してください。
関連項目
参照
FormControl クラス
FormControl のメンバ
Microsoft.Office.InfoPath 名前空間