Partager via


IWizCombo.InsertItem Method

Inserts the specified item at the specified location in the wizard combo box.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
Sub InsertItem ( _
    bstrItem As String, _
    nIndex As Integer _
)
void InsertItem(
    string bstrItem,
    int nIndex
)
void InsertItem(
    [InAttribute] String^ bstrItem, 
    [InAttribute] int nIndex
)
abstract InsertItem : 
        bstrItem:string * 
        nIndex:int -> unit
function InsertItem(
    bstrItem : String, 
    nIndex : int
)

Parameters

  • bstrItem
    Type: System.String

    Required. A string identifying the item.

  • nIndex
    Type: System.Int32

    Required. The zero-based index of the item to be inserted.

.NET Framework Security

See Also

Reference

IWizCombo Interface

Microsoft.VisualStudio.VsWizard Namespace