Поделиться через


IWizCombo.InsertItem - метод

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

Пространство имен:  Microsoft.VisualStudio.VsWizard
Сборка:  Microsoft.VisualStudio.VsWizard (в Microsoft.VisualStudio.VsWizard.dll)

Синтаксис

'Декларация
Sub InsertItem ( _
    bstrItem As String, _
    nIndex As Integer _
)
'Применение
Dim instance As IWizCombo
Dim bstrItem As String
Dim nIndex As Integer

instance.InsertItem(bstrItem, nIndex)
void InsertItem(
    string bstrItem,
    int nIndex
)
void InsertItem(
    [InAttribute] String^ bstrItem, 
    [InAttribute] int nIndex
)
function InsertItem(
    bstrItem : String, 
    nIndex : int
)

Параметры

  • bstrItem
    Тип: System.String

    Required. A string identifying the item.

  • nIndex
    Тип: System.Int32

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

Разрешения

  • Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.

См. также

Ссылки

IWizCombo Интерфейс

IWizCombo - члены

Microsoft.VisualStudio.VsWizard - пространство имен