This documentation is archived and is not being maintained.

Commands.GetEnumerator Method

Returns an enumerator for items in the Commands collection.

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

IEnumerator GetEnumerator()

Implements

IEnumerable.GetEnumerator()

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

Show: