Returns

Remarks

We recommend that you use the foreach statement to iterate through all members of the collection. Use your own enumerator object only when you need to customize iteration, such as by skipping every other member.