Collection.Add Method

Value is added as the last element of the collection; if Key is provided, it may be used to refer to the element using the Item property.

Syntax

Collection.Add Value, Key


Parameters

Value

Variant

Key

String