GetItemValue Method (JList)

Class

JList.

Action

Returns the value object of the list item.

Syntax

C#
itemValue = list.GetItemValue(item)
VB
itemValue = list.GetItemValue(item)
Variable Description
itemValue The value object of the list item. Object.
item The name or index of the list item. ItemIdentifier.

Examples

VB

Dim item As Object = colorsList.GetItemValue("green")
item = colorsList.GetItemValue(2)