Exists In Collection <T> Activity

Description:

Indicates whether a given item is present in the given collection.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.ActivityWithResult
      System.Activities.Activity<Boolean>
        System.Activities.CodeActivity<Boolean>
          System.Activities.Statements.ExistsInCollection<T>

Function:

Identifies whether an item is within the given collection and returns a value of true or false accordingly.

In a Workflow:

This activity can be used to check for or find particular items in a collection and then be combined with the ForEach activity to determine if any of the items in one collection are also present in another collection.

Properties:

Name Description

Collection

The Collection to search for a specified Item. The type of the elements held in the Collection are specified by the TypeArgument.

Display Name

ExistsInCollection<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 test for existence within the Collection. Item must be of the type specified by TypeArgument.

Result (Out Argument)

True if the Item exists within the Collection, False otherwise.

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/dd647747.aspx