Language Reference Guide : System Classes : ChoiceList Class : TextByIndex Method
 
Share this page          
TextByIndex Method
The TextByIndex method returns the EnumText column value from the row at the specified sequence number in the ChoiceItems array.
This method has the following syntax:
nvarchar = ChoiceList.TextByIndex(indexvalue = integer)
This method has the following parameter:
indexvalue
Specifies the sequence number of the desired row. If the row does not exist, the method returns an empty string.
You can also use the following syntax to reference the EnumText value:
ChoiceList.ChoiceItems[indexvalue].EnumText
indexvalue
Specifies the sequence number of the desired row