Dela via


ToolBoxItems.GetEnumerator Method

Gets an enumerator for items in the collection.

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

Syntax

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

ToolBoxItems Interface

ToolBoxItems Members

GetEnumerator Overload

EnvDTE Namespace

Other Resources

How to: Control the Toolbox