Add To Collection <T> Activity

Description:

Adds an item to a specified collection.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      System.Activities.Statements.AddToCollection<T>

Function:

Adds a new item to an existing collection.

In a Workflow:

A collection is a group of objects of the same type. There are many types of collection, such as, an array of integers (Int32[]) or a list of strings (List<string>). This activity allows you to add a single item to an existing collection.

Properties:

Name

Description

Collection

The Collection to add the Item to. The type of elements held in the Collection must be of the type specified by the TypeArgument.

Display Name

AddToCollection<T>

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Item

The Item to add to the Collection. The Item must be of the type specified by TypeArgument.

TypeArgument

The type of the elements in the Collection.

Version Information:

Supported from: Geocortex Essentials 3.0.

For more information:

https://msdn.microsoft.com/en-us/library/dd648043.aspx

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11