Share via


ShapeCollection.GetEnumerator Method ()

 

Retrieves a reference to an enumerator object that is used to iterate over a ShapeCollection.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

public IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator
override GetEnumerator : unit -> IEnumerator
Public Function GetEnumerator As IEnumerator

Return Value

Type: System.Collections.IEnumerator

An IEnumerator.

Implements

IEnumerable.GetEnumerator()

See Also

IndexOf
ShapeCollection Class
Microsoft.VisualBasic.PowerPacks Namespace
Introduction to the Line and Shape Controls (Visual Studio)
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)

Return to top