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

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

Return Value

Type: System.Collections.IEnumerator
An IEnumerator.

Implements

IEnumerable.GetEnumerator()

.NET Framework Security

See Also

Reference

ShapeCollection Class

Microsoft.VisualBasic.PowerPacks Namespace

IndexOf

Other Resources

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)