XenoGuard 4.0 Documentation

Create

ActionStep Reference » Programming » Dictionary » Create  

The Dictionary Create ActionStep creates a dictionary within either a local or global context. This ActionStep is typically used alongside other dictionary-related ActionSteps to manage and manipulate the key-value pairs.


[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. In the Dictionary node, select the Create ActionStep.

Parameters:

The ActionStep has the following input parameters:


name Description
Context The context to be used for the value.

Allowed Context Scope [Fixed]
Dictionary Name
The name to be given to the dictionary.

Allowed Context Scopes
[Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Read Only
Sets a boolean value that prevents the content to be modified.

Allowed Context Type [Boolean]

Example 1 (Assigns a name for a created dictionary):

This example creates a local dictionary named Product with key-value pairs added to the collection. The result Value of the added items in the dictionary is then output via Message Box.

See other Dictionary operations:

Add
Get
Get At
Count
Contains
Iterate
Remove
Remove At
Clear