VirtualUser Set T  Method (String, T)C# API
Sets an object value in the dictionary.

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

public void Set<T>(
	string key,
	T val
)

Parameters

key
Type: System String
The key to associate with val in the dictionary.
val
Type: T
The object to be associated with the key in the dictionary.
Type Parameters

T
The type of value to get

Implements

IDataDictionary Set T (String, T)
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 Form in the data dictionary.
Set%lt;Form>("form_33_1", form_33_1);
See Also