'Declaration Public Overloads Function AddOption( _ ByVal optionLabel As String, _ ByVal exportValue As String _ ) As ChoiceOption
'Usage Dim instance As ListBox Dim optionLabel As String Dim exportValue As String Dim value As ChoiceOption value = instance.AddOption(optionLabel, exportValue)
public ChoiceOption AddOption( string optionLabel, string exportValue )
public: ChoiceOption* AddOption( string* optionLabel, string* exportValue )
public: ChoiceOption^ AddOption( String^ optionLabel, String^ exportValue )
Parameters
- optionLabel
- The text to display in the option.
- exportValue
- The export value of the option.
Return Value
A newly-added ChoiceOption.