Jump to: navigation, search

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


 
(2 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.
 
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 35: Line 36:
 
==See also==
 
==See also==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
 +
 +
[[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