1. Home
  2. Docs
  3. Microsoft Extensions
  4. AddtoDictionary

AddtoDictionary

Add to dictionary

  • Dictionary represents a collection of keys and values. This activity takes Dictionary variable, key and value to be added as input.

Properties

      Common

  • DisplayName (String) – The display name of the activity.           

      Misc

  • Dictionary(InArgument<IDictionary<SelectedKeyDatatype,SelectedValueDatatype>>) – Dictionary represents a collection of keys and values.
  • Key (InArgument< SelectedKeyDatatype >) – Unique items in the dictionary which holds the values.
  • Private (Boolean) – If selected, the values of variables and arguments are no longer logged at Verbose level.
  • Value (InArgument< SelectedValueDatatype >) – Corresponding values of keys. Duplicate values allowed in Dictionary.  

      Example

  • Create a new Process and then click on Manage Packages. Now search for Activities.Extension in search bar. Install this package and click Save.
  • Then create a Sequence and inside it call Add to Dictionary Create dict variable.
  • Now simply enter the Key and Value which you want in pair and similarly drag Add to Dictionary activities to add more items to the Dictionary.