Add To Collection

Adds an item to a collection (e.g. List(Of String)). The item type (T) is selected in the TypeArgument field of the properties panel; the default is Int32.


⬅️INPUT

Parameter

Type

Required

Description

Collection

ICollection<T>

✅ Yes

Collection to add the item to. In the designer it is the Collection field. If the collection has not been created (null), the activity throws an error.

Item

T

✅ Yes

Item to add. In the designer it is the Item field.