Jump to: navigation, search

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...")
 
 
(13 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+
 
}}
 
}}
The AddToDictionary activity adds an item, specified by an unique key, to a given dictionary.
 
  
==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<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}} || 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
 
|}
 
|}
  
==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]]
* [http://msdn.microsoft.com/de-de/library/system.object%28v=vs.110%29.aspx Object Class (MSDN)]
+
* [[Activity:RemoveFromDictionary_(Activity)]]
  
[[Category:Workflows]]
+
[[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.

[edit]

Description

Add to Dictionary
Name AddToDictionary
Purpose Add an item to a dictionary
Category UBIK Collection
Returns True if successfull
Version 2.1+

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