Class PropertyArray
Definition
- Assembly:
- Tizen.NUI.dll
An array of property values.
C#Copypublic class PropertyArray : Disposable, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic PropertyArray()
Properties
Declaration
C#Copypublic PropertyValue this[uint index] { get; }
Parameters
Type | Name | Description |
---|---|---|
uint | index | The element index to access. No bounds checking is performed. |
Property Value
Type | Description |
---|---|
PropertyValue | The reference to the element. |
Methods
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic PropertyArray Add(PropertyValue value)
Parameters
Type | Name | Description |
---|---|---|
PropertyValue | value | The value to add at the end of the array. |
Returns
Type | Description |
---|---|
PropertyArray |
Declaration
C#Copypublic uint Capacity()
Returns
Type | Description |
---|---|
uint | The allocated capacity of the array. |
View Source
Clear()
Clears the array. This method removes all elements from the PropertyArray, resulting in an empty array.
Declaration
C#Copypublic void Clear()
Declaration
C#Copypublic uint Count()
Returns
Type | Description |
---|---|
uint | The number of elements in the array. |
Declaration
C#Copypublic bool Empty()
Returns
Type | Description |
---|---|
bool | Returns true if empty, false otherwise. |
Declaration
C#Copypublic PropertyValue GetElementAt(uint index)
Parameters
Type | Name | Description |
---|---|---|
uint | index | The element index to access. No bounds checking is performed. |
Returns
Type | Description |
---|---|
PropertyValue | The reference to the element. |
Declaration
C#Copypublic void PushBack(PropertyValue value)
Parameters
Type | Name | Description |
---|---|---|
PropertyValue | value | The value to add at the end of the array. |
Declaration
C#Copypublic void Reserve(uint size)
Parameters
Type | Name | Description |
---|---|---|
uint | size | The size to reserve. |
Declaration
C#Copypublic void Resize(uint size)
Parameters
Type | Name | Description |
---|---|---|
uint | size | The size to resize |
Declaration
C#Copypublic uint Size()
Returns
Type | Description |
---|---|
uint | The number of elements in the array. |
Implements
System.IDisposable