IDataDictionary SetList Method C# API
Sets a list value in the dictionary.

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

void SetList(
	string key,
	ArrayList list
)

Parameters

key
Type: System String
The key to associate with list in the dictionary.
list
Type: System.Collections ArrayList
The value to be associated with the key in the dictionary.
Remarks

key is associated with the value in the dictionary. If the key already exists in the dictionary then the old value is replaced by the new value, otherwise a new key/value pair is added to the dictionary.
Examples

The following example demonstrates setting a list.
ArrayList staff = new ArrayList();
staff.AddRange(new string[] = {"Peter","Gordon","Ian"});
SetList("directors", staff);
See Also