다음을 통해 공유


VCCodeElements.GetEnumerator Method

Gets an enumerator for items in the VCCodeElements collection.

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

Syntax

‘선언
Function GetEnumerator As IEnumerator
IEnumerator GetEnumerator()
IEnumerator^ GetEnumerator()
abstract GetEnumerator : unit -> IEnumerator 
function GetEnumerator() : IEnumerator

Return Value

Type: System.Collections.IEnumerator
An enumerator.

Implements

CodeElements.GetEnumerator()

Remarks

This method 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

VCCodeElements Interface

GetEnumerator Overload

Microsoft.VisualStudio.VCCodeModel Namespace