Collection Constructor ()
Creates and returns a new Visual Basic Collection object.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
The Visual Basic collection returned by this constructor is empty and does not have any initial capacity allocated.
The following example creates a new Visual Basic collection and assigns it to the variable coll:
Dim coll As New Microsoft.VisualBasic.Collection()
This Collection object is one-based, which means that the index values of the elements range from 1 through the value of the Count property. Visual Basic collections hold elements of type Object.
Available since 1.1
Available since 2.0