ImageGear .NET
AddOption(String) Method




The text to display in the new option.
Adds an option to the ComboBox.
Syntax
'Declaration
 
Public Overloads Function AddOption( _
   ByVal optionLabel As String _
) As ChoiceOption
'Usage
 
Dim instance As ComboBox
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 object.
See Also

Reference

ComboBox Class
ComboBox Members
Overload List

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback