ImageGear .NET - Updated
AddOption(String,String) Method




ImageGear23.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > ComboBox Class > AddOption Method : AddOption(String,String) Method
The text to display in the option.
The export value of the option.
Adds an option to the ComboBox.
Syntax
'Declaration
 
Public Overloads Function AddOption( _
   ByVal optionLabel As String, _
   ByVal exportValue As String _
) As ChoiceOption
'Usage
 
Dim instance As ComboBox
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.
See Also

Reference

ComboBox Class
ComboBox Members
Overload List