Insert Into List <T> Activity

Description:

Inserts an item into the list at a specified index.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Geocortex.Workflow.Activities.InsertIntoList<T>

Function:

This activity allows you to insert an item into a list.

The specified index must greater than or equal to 0 and less than the size of the list.

In a Workflow:

You would use this activity to add an item to the start of a list or in the middle of a list.

Properties:

Name Description

In Arguments

Index

The zero-based index where the item should be inserted.

Item

The item to insert into the list.

List

The list to insert the item into.

Misc

Display Name

InsertIntoList

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.

Version Information:

Supported from: Geocortex Essentials 3.10.