GroupCollection.GetEnumerator Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns an enumerator that can iterate through the collection.
Assembly: System (in System.dll)
Return Value
Type: System.Collections.IEnumeratorAn object that contains all Group objects in the GroupCollection.
Implements
IEnumerable.GetEnumeratorInstead of calling the GetEnumerator 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 Each…Next in Visual Basic) that is provided by your programming language.
Show: