Share via


IVCCollection.GetEnumerator Method

Returns an enumerator for items in the collection.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
Function GetEnumerator As IEnumerator
'Usage
Dim instance As IVCCollection 
Dim returnValue As IEnumerator 

returnValue = instance.GetEnumerator()
IEnumerator GetEnumerator()
IEnumerator^ GetEnumerator()
function GetEnumerator() : IEnumerator

Return Value

Type: System.Collections.IEnumerator
An enumerator.

Implements

IEnumerable.GetEnumerator()

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

IVCCollection Interface

IVCCollection Members

GetEnumerator Overload

Microsoft.VisualStudio.VCProjectEngine Namespace