IWizCombo.InsertItem 方法
在 [精靈] 下拉式方塊中指定的位置插入指定的項目。
命名空間: Microsoft.VisualStudio.VsWizard
組件: Microsoft.VisualStudio.VsWizard (在 Microsoft.VisualStudio.VsWizard.dll 中)
語法
'宣告
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
)
參數
- bstrItem
型別:System.String
必要項。識別項的字串。
- nIndex
型別:System.Int32
必要項。要插入之項目之以零起始的索引。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。