Decompose Collection

As the opposite of Compose Collection, it splits an IListinto separate elements. Each element of the collection is represented as an output pin and the collection is represented as a single input pin. The size and the type of the collection is an editable property of the block. Users can show or hide the available output pins (Figure 1).

Figure 1: Decompose Collection block settings

Setting Description
Element type
  • byte
  • char
  • short
  • int
  • long
  • double
  • string
  • object
Collection size The number of items in the collection to be made.
Filter by Index You can enter the index number for the element(s) you wish to see in the list. You can use comma or semicolon as delimiter (for example: 1,2,3 or 1;2;3), or intervals (for example: 1-3;4;6-8).
Visible Pins You can check which elements should be visible (Figure 2).

Figure 2: The elements of an array marked as visible appear as output pins on the Task block.