Difference between revisions of "Activity:GetFromDictionary (Activity)"
m (moved GetFromDictionary (Activity) to GetFromDictionary (Activity): Text replacement - "(.*)\(Activity\)" to "Activity:$1(Activity)") |
|||
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. | ||
+ | |||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Get from Dictionary | | title = Get from Dictionary | ||
Line 9: | Line 11: | ||
| version = 2.1+ | | version = 2.1+ | ||
}} | }} | ||
− | |||
− | ==Arguments== | + | ===Arguments=== |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
Line 25: | Line 26: | ||
|} | |} | ||
− | ==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]] | ||
− | |||
− | |||
− |
Revision as of 09:21, 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.
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.