次の方法で共有


WindowCollection.GetEnumerator メソッド

コレクション内のすべてのエントリに対して反復処理するための System.Collections.IEnumerator オブジェクトを取得します。

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

構文

'宣言
Public MustOverride Function GetEnumerator As IEnumerator
'使用
Dim instance As WindowCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator
public abstract IEnumerator GetEnumerator ()

戻り値

コレクション内のすべてのエントリに反復処理するための IEnumerator

コメント

このメンバは制限なしでアクセスできます。

この型またはメンバは、Microsoft Office InfoPath 2007 で開いているフォームで実行されているコードからのみアクセスできます。

関連項目

参照

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