Skip to main content

DictionaryValue

The DictionaryValue function returns the value from the enumerator used to iterate on a SFHub Dictionary.

Note

Notice that DictionaryValue can only be used with an enumerator.

Prototype

DictionaryValue(Enum)

Arguments


Enum Enumerator By value

The name of the enumerator used in the For Each loop SFCodeBlock.

See the For Each SFCodeBlock for more details.

Returns

Type of value according to the ValueType of the dictionary.

Exception

Undefined

Undefined is returned if the enumerator is iterating through a non SFHub Dictionary.

Example 

DictionaryValue(en)

This will return the value from the enumerator 'en' used to iterate through the dictionary.