Collection.Add

This function adds a member to a collection (possibly without an associated key).

Syntax Parameters Return Value
Sub Collection.Add( _
    Item As Variant, _
    Optional Key As Variant)
  • Item [in]

Type: Variant

  • Key [in,optional]

Type: Variant

This function does not return a value.