Removes the Group object at the specified 0-based position in the collection.

 public void Remove(int position)
Public Sub Remove(ByVal position As Integer)

The 0-based index of the Group object to remove.

Calling Remove with a shape group position less than 0 or greater than or equal to the number of shape groups will throw an ArgumentOutOfRangeException.