Jump to: navigation, search

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


(Created page with "{{ActivityInfoBox | title = Remove from Dictionary | name = RemoveFromDictionary | image = | imagecaption = Activity RemoveFromDictionary | purpose = Removes an item from a d...")
 
Line 18: Line 18:
 
| Dictionary || IDictionary<String,Object> || The dictionary containing the items
 
| Dictionary || IDictionary<String,Object> || The dictionary containing the items
 
|- align="left"
 
|- align="left"
| Key || String || In || The MetaProxy to load the proxy instance from
+
| Key || String || In || The item's key
 
|- align="left"
 
|- align="left"
| Proxy|| [[Proxy]] || Out || The loaded proxy instance
+
| Result|| {{Boolean}} || Out || True if item has been removed
|- align="left"
+
| Result|| {{Boolean}} || Out || True if proxy instance has been loaded
+
 
|}
 
|}
  
 
==Usage==
 
==Usage==
This activity loads a proxy instance (of the given MetaProxy) for the specified target object.  
+
This activity removes an item, specified by its unique key, from the given dictionary.
 
+
==Example==
+
Load an proxy object:
+
{| class="wikitable" | width = "50%"
+
|-
+
! Argument!! Value
+
|- align="left"
+
| UBIKObject|| Connect this argument with a variable for an UBIK object
+
|- align="left"
+
| MetaProxy || Connect this argument with a variable for a MetaProxy
+
|- align="left"
+
| Proxy || Connect this argument with a variable for a Proxy (out)
+
|}
+
  
 
==See also==
 
==See also==
Line 46: Line 31:
 
[[Category:Workflows]]
 
[[Category:Workflows]]
 
[[Category:Activities]]
 
[[Category:Activities]]
[[Category:Interfacing]]
 

Revision as of 12:27, 7 January 2015

Remove from Dictionary
Name RemoveFromDictionary
Purpose Removes an item from a dictionary
Category Collection
Returns True if successfull
Version 2.1+

The RemoveFromDictionary activity removes an item, specified by an unique key, from a given dictionary.

Arguments

Argument Type Direction Purpose
Dictionary IDictionary<String,Object> The dictionary containing the items
Key String In The item's key
Result Boolean Out True if item has been removed

Usage

This activity removes an item, specified by its unique key, from the given dictionary.

See also