Udostępnij za pośrednictwem


Modules.GetEnumerator Method

Gets an enumeration for items in a collection.

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

Syntax

'Declaration
Function GetEnumerator As IEnumerator
'Usage
Dim instance As Modules 
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

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

Modules Interface

Modules Members

GetEnumerator Overload

EnvDTE90 Namespace

Other Resources

Automation Object Model Chart