次の方法で共有


XmlFormCollection.GetEnumerator メソッド

XmlFormCollection オブジェクトのすべてのエントリで反復する System.Collections.IEnumerator オブジェクトを取得します。

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

構文

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

returnValue = instance.GetEnumerator
public abstract IEnumerator GetEnumerator ()

戻り値

XmlFormCollection オブジェクト内のすべてのエントリを反復する IEnumerator

コメント

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

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

関連項目

参照

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