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