CaptureCollection.GetEnumerator Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides an enumerator that iterates through the collection.
Assembly: System (in System.dll)
Return Value
Type: System.Collections.IEnumeratorAn object that contains all Capture objects within the CaptureCollection.
Implements
IEnumerable.GetEnumerator()Instead 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: