Click or drag to resize
CoronaBoxedTableSet Method

Adds the given key/value pair to the table.

If the given key already exists in the table, then its value will be replaced.

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public void Set(
	ICoronaBoxedComparableData key,
	ICoronaBoxedData value
)

Parameters

key
Type: CoronaLabs.Corona.WinRTICoronaBoxedComparableData

Unique key to store the value under in the table.

Cannot be null or else an exception will be thrown.

value
Type: CoronaLabs.Corona.WinRTICoronaBoxedData

The value to store in the table. to the property in the collection.

Setting this to null will remove its entry from the table. This matches Lua's behavior where Lua tables do not support nil values.

See Also