Language Reference Guide : System Classes : ChoiceList Class : DisplayByIndex Method
 
Share this page          
DisplayByIndex Method
The DisplayByIndex method returns the EnumDisplay column value from the row at the specified sequence number in the ChoiceItem array.
This method has the following syntax:
nvarchar = ChoiceList.DisplayByIndex(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 EnumDisplay value:
ChoiceList.ChoiceItems[indexvalue].Enumdisplay
indexvalue
Specifies the sequence number of the desired row