Click or drag to resize

ListViewItem.GetText Method (Symbol, Long)

X#
Retrieve the text label of a column.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD GetText(
	symColumnName AS SYMBOL,
	nRefImageIndex REF LONG
) AS STRING
Request Example View Source

Parameters

symColumnName
Type: Symbol
The symbolic name of the column whose text you want to retrieve.
nRefImageIndex
Type: Long
If this is a reference to a numeric variable, it gets the image index of this column.

Return Value

Type: String
The text label of the specified column.
Examples
X#
1oLVI := SELF:oDClvClaims:GetItemAttributes( nItemNr )
2IF oLVI != NULL_OBJECT
3cCity := oLVI:GetText( #cCity )
4ENDIF
See Also