Insert an OPTION in the SELECT at the specified index. If index is -1, the OPTION is inserted at the end. The attributes and value arrays must have the same length. These attributes are added to the option.

Namespace: Jaxcent.Web.Html
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public JaxcentOption InsertOption(
	int index,
	string optionText,
	string[] attributes,
	string[] values
)
Public Function InsertOption ( _
	index As Integer, _
	optionText As String, _
	attributes As String(), _
	values As String() _
) As JaxcentOption
public:
JaxcentOption^ InsertOption(
	int index, 
	String^ optionText, 
	array<String^>^ attributes, 
	array<String^>^ values
)

Parameters

index
Int32
optionText
String
attributes
array<String>[]()[][]
values
array<String>[]()[][]

See Also