← Back to carmenta.com
Carmenta Engine SDK Documentation
×

KeyValueTable<System.Int64>.Add Method

Adds a new element to the table.

Thread safety: This method is not thread-safe. Show

Overload List

 NameDescription
Public methodAdd(AttributeValue key, System.Int64 value)Adds an element with the specified key and value to the table.
Public methodAdd(KeyValuePair item)Adds a new element to the table.

Add(AttributeValue key, System.Int64 value)

Adds an element with the specified key and value to the table.

Syntax

C#
public void Add (
    AttributeValue key,
    System.Int64 value
)

Parameters

key
Type: AttributeValue
The key of the element.
value
Type: System.Int64
The value of the element.

Remarks

If an element with the same key already exists then it is overwritten with the new value.

Add(KeyValuePair item)

Adds a new element to the table.

Syntax

C#
public void Add (
	KeyValuePair< AttributeValue, System.Int64 > item
)

Parameters

item
Type: An element consisting of a key and its associated value.
An element to add to the table.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept