Click or drag to resize
CoronaBoxedTable Class
Stores a dictionary of key/value pairs that can be transferred to/from Lua as a table.
Inheritance Hierarchy
SystemObject
  CoronaLabs.Corona.WinRTCoronaBoxedTable

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public sealed class CoronaBoxedTable : ICoronaBoxedData, 
	__ICoronaBoxedTablePublicNonVirtuals, IIterable<IKeyValuePair<ICoronaBoxedComparableData, ICoronaBoxedData>>

The CoronaBoxedTable type exposes the following members.

Constructors
  NameDescription
Public methodCoronaBoxedTable
Creates an empty table.
Top
Methods
  NameDescription
Public methodClear
Removes all entries from the table. This makes the table count zero.
Public methodContainsKey
Determines if the given key exists in the table.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFirst
Gets an iterator used to iterate through all of the key/value pairs in the table in a foreach loop.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValueByKey
Fetches a value from the table by its unique key.
Public methodPushToLua
Pushes this object's data to the top of the Lua stack.
Public methodRemoveByKey
Removes an entry from the table by its unique key.
Public methodSet

Adds the given key/value pair to the table.

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

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCount
Gets the number of items in the collection.
Top
See Also