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...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
The RemoveFromDictionary activity removes an item, specified by an unique key, from a given dictionary.
 +
 +
=Description=
 
{{ActivityInfoBox
 
{{ActivityInfoBox
 
| title = Remove from Dictionary
 
| title = Remove from Dictionary
Line 9: Line 12:
 
| version = 2.1+
 
| version = 2.1+
 
}}
 
}}
The RemoveFromDictionary activity removes an item, specified by an unique key, from a given dictionary.
 
  
==Arguments==
+
===Arguments===
 
{| class="wikitable sortable" | width = "50%"
 
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
 
! Argument !! Type !! Direction !! Purpose  
 
! Argument !! Type !! Direction !! Purpose  
 
|- align="left"
 
|- align="left"
| Dictionary || IDictionary<String,Object> || The dictionary containing the items
+
| Dictionary || IDictionary<{{String_MSDN}},{{Object_MSDN}}> || In || The dictionary containing the items
 
|- align="left"
 
|- align="left"
| Key || String || In || The MetaProxy to load the proxy instance from
+
| Key || {{String_MSDN}} || In || The item's key
 
|- align="left"
 
|- align="left"
| Proxy|| [[Proxy]] || Out || The loaded proxy instance
+
| Result|| {{Boolean_MSDN}} || 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==
+
<!-- DO NOT REMOVE THIS -->{{Activity/End}}<!-- DO NOT REMOVE THIS -->
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==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
 +
* [[Activity:AddToDictionary_(Activity)]]
  
[[Category:Workflows]]
+
[[Category:Activities|RemoveFromDictionary (Activity)]]
[[Category:Activities]]
+
[[Category:Interfacing]]
+

Latest revision as of 10:04, 4 November 2015

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

[edit]

Description

Remove from Dictionary
Name RemoveFromDictionary
Purpose Removes 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 removed

Usage

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


See also