Click or drag to resize
CoronaLuaEventPropertiesSet Method (String, ICoronaBoxedData)

Adds the given property name/value pair to the collection.

If the given property name already exists in the collection, then its value will be replaced.

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

Parameters

name
Type: SystemString

Unique name of the property to add or update.

Cannot be null/empty or else an exception will be thrown.

value
Type: CoronaLabs.Corona.WinRTICoronaBoxedData

The value to be assigned to the property in the collection.

Setting this to null will remove the property from the collection. This is because Lua tables do not support nil values.

See Also