{description}
{excerpt}Returns an IEnumerator for this Shapes collection.{excerpt}
{signature:C#}
public IEnumerator GetEnumerator()
{signature}
{signature:vb.net}
Public Function GetEnumerator As IEnumerator
{signature}
{returns}
An enumerator for the Shapes in a Worksheet as a System.Collections.IEnumerator.
{returns}
{example}
{code:csharp|title=C#}
IEnumerator enumerator = ws.Shapes.GetEnumerator();
{code}
{code:vb.net|title=vb.net}
Dim enumerator as IEnumerator = ws.Shapes.GetEnumerator()
{code}

{example}