Language Reference Guide : System Classes : ChoiceList Class : DisplayByValue Method
 
Share this page          
DisplayByValue Method
The DisplayByValue method returns the EnumDisplay column value from the row that contains the specified enumvalue in the EnumValue column.
This method has the following syntax:
nvarchar = ChoiceList.DisplayByValue(enumvalue = integer)
This method has the following parameter:
enumvalue
Specifies the enumvalue
If more than one row contains the specified enumvalue, this method returns only the first row. If there are no rows with that value, the method returns an empty string.