Difference between revisions of "Activity:AddToDictionary (Activity)"
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | The AddToDictionary activity adds an item, specified by an unique key, to a given dictionary. | ||
+ | |||
+ | =Description= | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Add to Dictionary | | title = Add to Dictionary | ||
Line 5: | Line 8: | ||
| imagecaption = Activity AddToDictionary | | imagecaption = Activity AddToDictionary | ||
| purpose = Add an item to a dictionary | | purpose = Add an item to a dictionary | ||
− | | category = Collection | + | | category = UBIK Collection |
| returns = True if successfull | | returns = True if successfull | ||
| version = 2.1+ | | version = 2.1+ | ||
}} | }} | ||
− | |||
− | ==Arguments== | + | ===Arguments=== |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
! Argument !! Type !! Direction !! Purpose | ! Argument !! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | Dictionary || IDictionary< | + | | Dictionary || IDictionary<{{String_MSDN}},{{Object_MSDN}}> || In || The dictionary containing the items |
|- align="left" | |- align="left" | ||
− | | Key || | + | | Key || {{String_MSDN}} || In || The item's key |
|- align="left" | |- align="left" | ||
| Result|| {{Boolean_MSDN}} || Out || True if item has been added | | Result|| {{Boolean_MSDN}} || Out || True if item has been added | ||
|- align="left" | |- align="left" | ||
− | | Update|| {{ | + | | Update|| {{Boolean_MSDN}} || In || If true, an existing item is updated; if false, a new item is added |
|- align="left" | |- align="left" | ||
− | | Value || | + | | Value || {{Object_MSDN}} || In || If true, an existing item is updated; if false, a new item is added |
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
This activity adds an item, using its unique key, to the given dictionary. | This activity adds an item, using its unique key, to the given dictionary. | ||
+ | |||
+ | <!-- DO NOT REMOVE THIS -->{{Activity/End}}<!-- DO NOT REMOVE THIS --> | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
+ | * [[Activity:RemoveFromDictionary_(Activity)]] | ||
− | + | [[Category:Activities|AddToDictionary (Activity)]] | |
− | [[Category:Activities]] | + |
Latest revision as of 09:57, 4 November 2015
The AddToDictionary activity adds an item, specified by an unique key, to a given dictionary.