BaseListBox.GetItem Method (Typed) | |
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
public virtual string GetItem(
int nItemNumber,
[DefaultParameterValueAttribute(-1, 0)] int nLength
)
Request Example
View SourceParameters
- nItemNumber
- Type: Long
The number of the desired item. Specify one of the following values:
Value | Position |
---|
0 | The currently selected item. |
1 | The 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