IDataDictionary GetList Method (String, ArrayList)C# API
Returns a list held in the dictionary, or the defaultList if the key cannot be found.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.5.5.77
Syntax

ArrayList GetList(
	string key,
	ArrayList defaultList
)

Parameters

key
Type: System String
The key to be looked up in the dictionary.
defaultList
Type: System.Collections ArrayList
The value to return if the key is not present in the dictionary.

Return Value

An ArrayList value held in the dictionary, or defaultList if the key could not be found.
Remarks

Default data warning:

When called from a VU script, if the defaultList is returned then a message is also written to the VU Event Log. This feature helps highlight problems with data bindings when data is expected to come from a data source, but the default value is returned instead.

An example of the message entry in the Event Log:
TypeIDInfo
MessageDefault data warningNo value found for key: myList, using default value instead: List with first item: Item01

To turn this feature off, go to the Test view in eggPlant Performance Studio and uncheck the option "Enable default data warnings" on the Data tab.
See Also