Jump to: navigation, search

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


m (moved GetFromDictionary (Activity) to GetFromDictionary (Activity): Text replacement - "(.*)\(Activity\)" to "Activity:$1(Activity)")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
The GetFromDictionary activity gets and returns an item, specified by an unique key, from a given dictionary. If the data type of the returned item is known, the GetFromDictionary<T> activity, with a generic type argument, should be used.
 +
 +
=Description=
 
{{ActivityInfoBox
 
{{ActivityInfoBox
 
| title = Get from Dictionary
 
| title = Get from Dictionary
Line 9: Line 12:
 
| version = 2.1+
 
| version = 2.1+
 
}}
 
}}
The GetFromDictionary activity gets and returns an item, specified by an unique key, from a given dictionary. If the data type of the returned item is known, the GetFromDictionary<T> activity, with a generic type argument, should be used.
 
  
==Arguments==
+
===Arguments===
 
{| class="wikitable sortable" | width = "50%"
 
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
Line 25: Line 27:
 
|}
 
|}
  
==Usage==
+
===Usage===
 
This activity gets and returns an item, specified by its unique key, from the given dictionary.
 
This activity gets and returns an item, specified by its unique key, from the given dictionary.
  
 
{{Hint|Use GetFromDictionary<T> if the data type of the item is known.}}
 
{{Hint|Use GetFromDictionary<T> if the data type of the item is known.}}
 +
 +
<!-- DO NOT REMOVE THIS -->{{Activity/End}}<!-- DO NOT REMOVE THIS -->
  
 
==See also==
 
==See also==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
 
  
 
[[Category:Activities]]
 
[[Category:Activities]]

Latest revision as of 09:59, 4 November 2015

The GetFromDictionary activity gets and returns an item, specified by an unique key, from a given dictionary. If the data type of the returned item is known, the GetFromDictionary<T> activity, with a generic type argument, should be used.

[edit]

Description

Get from Dictionary
Name GetFromDictionary
Purpose Get an item from a dictionary
Category 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 found
Value Object Out The item returned

Usage

This activity gets and returns an item, specified by its unique key, from the given dictionary.

IC Hint square.pngUse GetFromDictionary<T> if the data type of the item is known.


See also