Collection.Add Method — Microsoft.VisualBasic.Collection
objectvariable.Add item
[,key, before, after
]
objectvariable
required; Collection ObjectThe Collection object to which an item is to be added
item
required; ObjectAn object of any type that specifies the member to add to the collection
key
optional; StringA unique string expression that specifies a key string that can be used, instead of a positional index, to access a member of the collection
before
optional; ObjectIndex or key of the item after which the new item is to be added
after
optional; ObjectIndex or key of the item before which the new item is to be added