Removes a specified key from the specified Dictionary object.



  • Result - True or False boolean result if specified key has been removed from the Dictionary object.


  • Dictionary - The Dictionary object from which the specified key would be removed.

  • Key - The Key of the data to be removed.


  • ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.


  • DisplayName - Renames the activity.


  1. Create a Dictionary<Int32,Int32> variable and name it dictionary.
  2. Add an Assign activity inside the initial Sequence.
  3. In the Assign To field, add the dictionary variable.
  4. In the Assign Value field, write new Dictionary(Of Int32, Int32) since its default value is null.
  5. After the Assign activity, add an Add To Dictionary activity.
  6. In the Add To Dictionary Dictionary field, add the dictionary variable.
  7. In the Add To Dictionary Key field, write 1.
  8. In the Add To Dictionary Value field, write 15. This means the Key 1 has the value of 15.
  9. Add your second Add To Dictionary activity.
  10. In the Add To Dictionary Dictionary field, add the dictionary variable.
  11. In the Add To Dictionary Key field, write 2.
  12. In the Add To Dictionary Value field, write 25.
  13. After the Add To Dictionary activity, add a Remove From Dictionary activity.
  14. In the Remove From Dictionary Dictionary field, add the dictionary variable.
  15. In the Remove From Dictionary Key field, write 2

    The use case should look as the following screenshot:

            Upon execution, two keys should be added to the dictionary variable, and then the Key 2 should be removed afterwards.