Struct UIStringCollection
UIString item collection
struct UIStringCollection;
Based on array.
Properties
| Name | Type | Description |
|---|---|---|
empty[get]
|
bool | Returns true if collection is empty |
length[get]
|
int | Returns number of items |
Methods
| Name | Description |
|---|---|
add
(item, index)
|
Insert resource id item into specified position |
add
(item, index)
|
Insert unicode string item into specified position |
add
(item, index)
|
Insert StringListValue.label item into specified position |
add
(item, index)
|
Insert UIString item into specified position |
addAll
(items)
|
Append UIStringCollection |
addAll
(items)
|
Append array of unicode strings |
clear
()
|
Remove all items |
get
(index)
|
Return unicode string for item by index |
indexOf
(str)
|
Return index of first item with specified text or -1 if not found. |
indexOf
(strId)
|
Return index of first item with specified string resource id or -1 if not found. |
indexOf
(str)
|
Return index of first item with specified string or -1 if not found. |
opAssign
(items)
|
Assign UIStringCollection |
opAssign
(items)
|
Assign array of string resource IDs |
opAssign
(items)
|
Assign array of unicode strings |
opAssign
(items)
|
Assign array of UIString |
opAssign
(items)
|
Assign array of StringListValue |
opIndex
()
|
Slice |
opIndex
(index)
|
Read item by index |
opIndexAssign
(value, index)
|
Modify item by index |
opSlice
()
|
Slice |
remove
(index)
|
Remove item with specified index |