Since the Erase method is used to erase an array, does it clean up properly if it is an array of objects? Or do I have to iterate through the array and destroy each object separately?

ex:

vb Code:
  1. Option Explicit
  2.  
  3. Private objMyObject() As MyObject
  4.  
  5. Private Sub Form_Load()
  6.     Dim i As Integer
  7.  
  8.     ReDim objMyObject(1 to 10) As MyObject
  9.  
  10.     For i = 1 To 10
  11.         Set objMyObject(i) = New MyObject
  12.     Next i
  13.  
  14. End Sub
  15.  
  16. Private Sub Form_Unload()
  17.     Erase objMyObject
  18. End Sub