Click or drag to resize

BaseListBox.GetItem Method (Typed)

X#
Retrieve the text of a specified list box item.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD GetItem(
	nItemNumber AS LONG,
	 nLength AS LONG
) AS STRING
Request Example View Source

Parameters

nItemNumber
Type: Long
The number of the desired item. Specify one of the following values:
ValuePosition
0The currently selected item.
1The first item.
n The nth item.
nLength
Type: Long
Optional numeric value that indicates how long the returned string should be.

Return Value

Type: String
The text of the specified item.
See Also