Class PropertyArray
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
An array of property values.
public class PropertyArray : Disposable, IDisposable
- Inheritance
- Implements
Constructors
View SourcePropertyArray()
The constructor.
Declaration
public PropertyArray()
API Level: 3
Properties
View SourceItem[UInt32]
The operator to access an element.
Declaration
public PropertyValue this[uint index] { get; }
Parameters
Type | Name | Description |
---|---|---|
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 SourceAdd(KeyValue)
Adds an keyvalue to the array. This function should be first
Declaration
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 |
Add(PropertyValue)
Adds an element to the array.
Declaration
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 SourceCapacity()
Retrieves the capacity of the array.
Declaration
public uint Capacity()
Returns
Type | Description |
---|---|
UInt32 | The allocated capacity of the array. |
API Level: 3
View SourceClear()
Clears the array.
Declaration
public void Clear()
API Level: 3
View SourceCount()
Retrieves the number of elements in the array.
Declaration
public uint Count()
Returns
Type | Description |
---|---|
UInt32 | The number of elements in the array. |
API Level: 3
View SourceEmpty()
Returns whether the array is empty.
Declaration
public bool Empty()
Returns
Type | Description |
---|---|
Boolean | Returns true if empty, false otherwise. |
API Level: 3
View SourceGetElementAt(UInt32)
Accesses an element.
Declaration
public PropertyValue GetElementAt(uint index)
Parameters
Type | Name | Description |
---|---|---|
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 SourcePushBack(PropertyValue)
Adds an element to the array.
Declaration
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 SourceReserve(UInt32)
Increases the capacity of the array.
Declaration
public void Reserve(uint size)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | size | The size to reserve. |
API Level: 3
View SourceResize(UInt32)
Resizes to size.
Declaration
public void Resize(uint size)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | size | The size to resize |
API Level: 3
View SourceSize()
Retrieves the number of elements in the array.
Declaration
public uint Size()
Returns
Type | Description |
---|---|
UInt32 | The number of elements in the array. |