DropDownControl.InsertItemIntoDropDown Method
Inserts an element into the drop-down control at the specified index.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Sub InsertItemIntoDropDown ( _
index As Integer, _
item As ToolStripItem _
)
'Usage
Dim instance As DropDownControl
Dim index As Integer
Dim item As ToolStripItem
instance.InsertItemIntoDropDown(index, _
item)
public void InsertItemIntoDropDown(
int index,
ToolStripItem item
)
public:
void InsertItemIntoDropDown(
int index,
ToolStripItem^ item
)
member InsertItemIntoDropDown :
index:int *
item:ToolStripItem -> unit
public function InsertItemIntoDropDown(
index : int,
item : ToolStripItem
)
Parameters
- index
Type: System.Int32
The zero-based index at which item should be inserted.
- item
Type: System.Windows.Forms.ToolStripItem
The object to insert. The value can be a null reference for reference types.