GetEnumerator Method

_Solution.GetEnumerator Method ()


Returns an enumeration for items in a collection.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

An enumerator.

This method is used explicitly in Visual C++. Visual C# and Visual Basic use the foreach loop that uses the GetEnumerator method internally.

Return to top
© 2015 Microsoft