GetItem Method (JList)

Class

JList.

Action

Returns the item at the specified index.

Syntax

C#
item = list.GetItem(index)
VB
item = list.GetItem(index)
Variable Description
item The name of the item. String.
index The item index. The value is zero-based. Integer.

Examples

VB

Dim item As String = colorsList.GetItem(2)