Class PropertyArray
Definition
- Assembly:
- Tizen.NUI.dll
An array of property values.
public class PropertyArray : IDisposable
- Inheritance
-
objectPropertyArray
- Implements
-
System.IDisposable
Constructors
View SourcePropertyArray()
The constructor.
Declaration
public PropertyArray()
Fields
View Sourcedisposed
A Flat to check if it is already disposed.
Declaration
protected bool disposed
Field Value
Type | Description |
---|---|
bool |
swigCMemOwn
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Type | Description |
---|---|
bool |
Properties
View Sourcethis[uint]
The operator to access an element.
Declaration
public 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
View SourceAdd(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 |
Capacity()
Retrieves the capacity of the array.
Declaration
public uint Capacity()
Returns
Type | Description |
---|---|
uint | The allocated capacity of the array. |
Clear()
Clears the array.
Declaration
public void Clear()
Count()
Retrieves the number of elements in the array.
Declaration
public uint Count()
Returns
Type | Description |
---|---|
uint | The number of elements in the array. |
Dispose()
Dispose.
Declaration
public void Dispose()
Dispose(DisposeTypes)
Dispose.
Declaration
protected virtual void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Empty()
Returns whether the array is empty.
Declaration
public bool Empty()
Returns
Type | Description |
---|---|
bool | Returns true if empty, false otherwise. |
~PropertyArray()
Dispose.
Declaration
protected ~PropertyArray()
GetElementAt(uint)
Accesses an element.
Declaration
public 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. |
PushBack(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. |
Reserve(uint)
Increases the capacity of the array.
Declaration
public void Reserve(uint size)
Parameters
Type | Name | Description |
---|---|---|
uint | size | The size to reserve. |
Resize(uint)
Resizes to size.
Declaration
public void Resize(uint size)
Parameters
Type | Name | Description |
---|---|---|
uint | size | The size to resize |
Size()
Retrieves the number of elements in the array.
Declaration
public uint Size()
Returns
Type | Description |
---|---|
uint | The number of elements in the array. |