Difference between revisions of "Activity:AddToDictionary (Activity)"
(Created page with "{{ActivityInfoBox | title = Add to Dictionary | name = AddToDictionary | image = | imagecaption = Activity AddToDictionary | purpose = Add an item to a dictionary | categor...") |
|||
Line 33: | Line 33: | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
* [http://msdn.microsoft.com/de-de/library/system.object%28v=vs.110%29.aspx Object Class (MSDN)] | * [http://msdn.microsoft.com/de-de/library/system.object%28v=vs.110%29.aspx Object Class (MSDN)] | ||
+ | * [http://msdn.microsoft.com/en-us/library/system.string%28v=vs.110%29.aspx String Class (MSDN)] | ||
[[Category:Workflows]] | [[Category:Workflows]] | ||
[[Category:Activities]] | [[Category:Activities]] |
Revision as of 12:52, 7 January 2015
Add to Dictionary | |
---|---|
Name | 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
Argument | Type | Direction | Purpose |
---|---|---|---|
Dictionary | IDictionary<String,Object> | In | The dictionary containing the items |
Key | String | In | The item's key |
Result | Boolean | Out | True if item has been added |
Update | Boolean | In | If true, an existing item is updated; if false, a new item is added |
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.