Share via


Solution2.GetEnumerator Method

Returns an enumeration for items in a collection.

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

Syntax

'Declaration
Function GetEnumerator As IEnumerator
IEnumerator GetEnumerator()
IEnumerator^ GetEnumerator()
abstract GetEnumerator : unit -> IEnumerator
function GetEnumerator() : IEnumerator

Return Value

Type: IEnumerator
An enumerator.

Remarks

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

.NET Framework Security

See Also

Reference

Solution2 Interface

EnvDTE80 Namespace