Changes
Created page with "{{ActivityInfoBox | title = Add to Dictionary | name = AddToDictionary | image = | imagecaption = Activity AddToDictionary | purpose = Add an item to a dictionary | categor..."
{{ActivityInfoBox
| title = Add to Dictionary
| name = AddToDictionary
| image =
| imagecaption = Activity AddToDictionary
| purpose = Add an item to a dictionary
| category = Collection
| returns = True if successfull
| version = 2.1+
}}
The AddToDictionary activity adds an item, specified by an unique key, to a given dictionary.
==Arguments==
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| Dictionary || IDictionary<String,Object> || In || The dictionary containing the items
|- align="left"
| Key || String || In || The item's key
|- align="left"
| Result|| {{Boolean}} || Out || True if item has been added
|- align="left"
| Update|| {{Boolean}} || In || If true, an existing item is updated; if false, a new item is added
|- align="left"
| Value || Object || In || If true, an existing item is updated; if false, a new item is added
|}
==Usage==
This activity adds an item, using its unique key, to the given dictionary.
==See also==
* [[Workflow Designer]]
* [http://msdn.microsoft.com/de-de/library/system.object%28v=vs.110%29.aspx Object Class (MSDN)]
[[Category:Workflows]]
[[Category:Activities]]
| title = Add to Dictionary
| name = AddToDictionary
| image =
| imagecaption = Activity AddToDictionary
| purpose = Add an item to a dictionary
| category = Collection
| returns = True if successfull
| version = 2.1+
}}
The AddToDictionary activity adds an item, specified by an unique key, to a given dictionary.
==Arguments==
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| Dictionary || IDictionary<String,Object> || In || The dictionary containing the items
|- align="left"
| Key || String || In || The item's key
|- align="left"
| Result|| {{Boolean}} || Out || True if item has been added
|- align="left"
| Update|| {{Boolean}} || In || If true, an existing item is updated; if false, a new item is added
|- align="left"
| Value || Object || In || If true, an existing item is updated; if false, a new item is added
|}
==Usage==
This activity adds an item, using its unique key, to the given dictionary.
==See also==
* [[Workflow Designer]]
* [http://msdn.microsoft.com/de-de/library/system.object%28v=vs.110%29.aspx Object Class (MSDN)]
[[Category:Workflows]]
[[Category:Activities]]
