共用方式為


ModelItemCollection.IList.Insert 方法

如需這個成員的說明,請參閱 IList.Insert

命名空間:  Microsoft.Windows.Design.Model
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Private Sub Insert ( _
    index As Integer, _
    value As Object _
) Implements IList.Insert
void IList.Insert(
    int index,
    Object value
)
private:
virtual void Insert(
    int index, 
    Object^ value
) sealed = IList::Insert
private abstract Insert : 
        index:int * 
        value:Object -> unit 
private override Insert : 
        index:int * 
        value:Object -> unit 
JScript 不支援明確介面實作。

參數

  • index
    型別:System.Int32
    應該插入 value 處之以零啟始的索引。

實作

IList.Insert(Int32, Object)

備註

這個成員是明確介面成員實作, 只有在 ModelItemCollection 執行個體轉換成 IList 介面時,才能使用這個成員。

.NET Framework 安全性

請參閱

參考

ModelItemCollection 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構