GroupCollection.IEnumerable<KeyValuePair<String,Group>>.GetEnumerator メソッド

定義

グループ コレクションを反復処理する列挙子を提供します。Provides an enumerator that iterates through the group collection.

 virtual System::Collections::Generic::IEnumerator<System::Collections::Generic::KeyValuePair<System::String ^, System::Text::RegularExpressions::Group ^>> ^ System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.Text.RegularExpressions.Group>>.GetEnumerator() = System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Text::RegularExpressions::Group ^>>::GetEnumerator;
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string,System.Text.RegularExpressions.Group>> IEnumerable<KeyValuePair<string,Group>>.GetEnumerator ();
abstract member System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.Text.RegularExpressions.Group>>.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, System.Text.RegularExpressions.Group>>
override this.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.Text.RegularExpressions.Group>>.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, System.Text.RegularExpressions.Group>>
Function GetEnumerator () As IEnumerator(Of KeyValuePair(Of String, Group)) Implements IEnumerable(Of KeyValuePair(Of String, Group)).GetEnumerator

戻り値

IEnumerator<KeyValuePair<String,Group>>

Group コレクション内のすべての名前とオブジェクトを含む列挙子。An enumerator that contains all names and objects in the Group collection.

実装

注釈

コレクション内のオブジェクトを反復処理できる列挙子を取得するには、このメソッドを呼び出すのではなく、 Group グループ反復構造 ( foreach C# や... など) を使用する必要があります。 For Each``NextInstead of calling this method to retrieve an enumerator that lets you iterate through the Group objects in the collection, you should use the group iteration construct (such as foreach in C# and For EachNext Visual Basic)。プログラミング言語によって提供されます。in Visual Basic) that is provided by your programming language.

適用対象