Collection Management

Create Empty Dictionary

Activity allows to create empty dictionary.

Dictionaries are used to store values. They are presented in pairs: key and value. You need to specify the type of key and the type of value to store in a dictionary. After dragging the activity to the flowchart opens an input window to select the type from the dropdowns first and immediately after opens the activity. You can give a name to the Dictionary there (declare the variable, type: Dictionary<T,T>).

v2_coll_dict_ogolny
v2_coll_dict-create
NameTypeCategoryDescription
DictionaryLiteralInputdictionary name
Key TypeDropdownInputselect dictionary key type from the dropdown list
Value TypeDropdownInputselect value type from the dropdown list
Alternative Scenario If FailedBooleanMisccheckbox; default is "on"
Display NameLiteralMiscchanges display name of the activity
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info
FullscreenBooleanScreenshotcheckbox; default is "off"
Screenshot PathStringScreenshotdirectory path to save location
Show CursorBooleanScreenshotcheckbox; default is "off"
Window ScreenshotsBooleanScreenshotcheckbox; default is "off"

Last edited: 2023, 31 May.