Difference between revisions of "Activity:GetFromDictionary (Activity)"
Line 16: | Line 16: | ||
! Argument !! Type !! Direction !! Purpose | ! Argument !! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | Dictionary || IDictionary< | + | | Dictionary || IDictionary<{{String_MSDN}},{{Object_MSDN}}> || In || The dictionary containing the items |
|- align="left" | |- align="left" | ||
− | | Key || | + | | Key || {{String_MSDN}} || In || The item's key |
|- align="left" | |- align="left" | ||
− | | Result|| {{ | + | | Result|| {{Boolean_MSDN}} || Out || True if item has been found |
|- align="left" | |- align="left" | ||
− | | Value|| | + | | Value|| {{Object_MSDN}} || Out || The item returned |
|} | |} | ||
Revision as of 13:00, 7 January 2015
Get from Dictionary | |
---|---|
Name | GetFromDictionary |
Purpose | Get an item from a dictionary |
Category | Collection |
Returns | True if successfull |
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
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.