Class PropertyArray

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

An array of property values.

C#
Copy
public class PropertyArray : Disposable, IDisposable
Inheritance
System.Object
PropertyArray
Implements
System.IDisposable

Constructors

View Source

PropertyArray()

The constructor.

Declaration
C#
Copy
public PropertyArray()
API Level: 3

Properties

View Source

Item[UInt32]

The operator to access an element.

Declaration
C#
Copy
public PropertyValue this[uint index] { get; }
Parameters
Type Name Description
System.UInt32 index

The element index to access. No bounds checking is performed.

Property Value
Type Description
PropertyValue

The reference to the element.

API Level: 3

Methods

View Source

Add(KeyValue)

Adds an keyvalue to the array. This function should be first

Declaration
C#
Copy
public PropertyArray Add(KeyValue value)
Parameters
Type Name Description
KeyValue value

The value to add at the end of the array.

Returns
Type Description
PropertyArray
Exceptions
Type Condition
System.ArgumentNullException

Thrown when value is null.

View Source

Add(PropertyValue)

Adds an element to the array.

Declaration
C#
Copy
public PropertyArray Add(PropertyValue value)
Parameters
Type Name Description
PropertyValue value

The value to add at the end of the array.

Returns
Type Description
PropertyArray
API Level: 3
View Source

Capacity()

Retrieves the capacity of the array.

Declaration
C#
Copy
public uint Capacity()
Returns
Type Description
System.UInt32

The allocated capacity of the array.

API Level: 3
View Source

Clear()

Clears the array.

Declaration
C#
Copy
public void Clear()
API Level: 3
View Source

Count()

Retrieves the number of elements in the array.

Declaration
C#
Copy
public uint Count()
Returns
Type Description
System.UInt32

The number of elements in the array.

API Level: 3
View Source

Empty()

Returns whether the array is empty.

Declaration
C#
Copy
public bool Empty()
Returns
Type Description
Boolean

Returns true if empty, false otherwise.

API Level: 3
View Source

GetElementAt(UInt32)

Accesses an element.

Declaration
C#
Copy
public PropertyValue GetElementAt(uint index)
Parameters
Type Name Description
System.UInt32 index

The element index to access. No bounds checking is performed.

Returns
Type Description
PropertyValue

The reference to the element.

API Level: 3
View Source

PushBack(PropertyValue)

Adds an element to the array.

Declaration
C#
Copy
public void PushBack(PropertyValue value)
Parameters
Type Name Description
PropertyValue value

The value to add at the end of the array.

API Level: 3
View Source

Reserve(UInt32)

Increases the capacity of the array.

Declaration
C#
Copy
public void Reserve(uint size)
Parameters
Type Name Description
System.UInt32 size

The size to reserve.

API Level: 3
View Source

Resize(UInt32)

Resizes to size.

Declaration
C#
Copy
public void Resize(uint size)
Parameters
Type Name Description
System.UInt32 size

The size to resize

API Level: 3
View Source

Size()

Retrieves the number of elements in the array.

Declaration
C#
Copy
public uint Size()
Returns
Type Description
System.UInt32

The number of elements in the array.

API Level: 3

Implements

System.IDisposable