@set


Description:

public bool @set (string key, Variant value)

Adds or replaces key-value pair in the dictionary.

This allows to set a value of an arbitrary type: it first needs to be converted to a Variant. For most commonly used types also type-specific setters are provided.

Parameters:

this

instance of Dictionary

key

key to be set

value

value to be set

Returns:

true if successful, false otherwise.