Jump to: navigation, search

Difference between revisions of "Activity:AddToDictionary (Activity)"


Line 16: Line 16:
 
! Argument !! Type !! Direction !! Purpose  
 
! Argument !! Type !! Direction !! Purpose  
 
|- align="left"
 
|- align="left"
| Dictionary || IDictionary<String,Object> || In || The dictionary containing the items
+
| Dictionary || IDictionary<{{String_MSDN}},{{Object_MSDN}}> || In || The dictionary containing the items
 
|- align="left"
 
|- align="left"
| Key || String || In || The item's 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|| {{Boolean}} || In || If true, an existing item is updated; if false, a new item is added
+
| Update|| {{Boolean_MSDN}} || In || If true, an existing item is updated; if false, a new item is added
 
|- align="left"
 
|- align="left"
| Value || Object || In || If true, an existing item is updated; if false, a new item is added
+
| Value || {{Object_MSDN}} || In || If true, an existing item is updated; if false, a new item is added
 
|}
 
|}
  

Revision as of 12:55, 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.

See also