Gambas Documentation - /comp/gb.data/.list.item

/comp/gb.data/.list.item

# .List.Item (gb.data)

This virtual class represents the Current element of a List object.

This class is virtual.
This class is not creatable.

Properties | Methods
--- | ---

Return the index of this item.
Index
Return if this item is the first in the list (looking at the forward links). This is equivalent to having a normalised Index of 0.
IsFirst
Return if this item is the last in the list (looking at the forward links). This is equivalent to being the first item, looking at the backward links.
IsLast
Return if this item constitutes a valid reference.
IsValid
Return the value associated with this item.
Value

Append a value to this item, i.e. place it after this one in the forward links and before this one in the backward links.
Append
Prepend a value to this item, i.e. place it before this one in the forward links and after this one in the backward links.
Prepend