共用方式為


ModelItemCollection.IList.Item 屬性

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

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

語法

'宣告
Private Property Item ( _
    index As Integer _
) As Object Implements IList.Item
    Get
    Set
Object IList.this[
    int index
] { get; set; }
private:
virtual property Object^ Item[int index] {
    Object^ get (int index) sealed = IList::Item::get;
    void set (int index, Object^ value) sealed = IList::Item::set;
}
private abstract Item : Object with get, set
private override Item : Object with get, set
JScript 不支援明確介面實作。

參數

  • index
    型別:System.Int32
    要取得或設定之以零起始的項目索引。

屬性值

型別:System.Object
指定之索引處的項目。

實作

IList.Item[Int32]

備註

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

.NET Framework 安全性

請參閱

參考

ModelItemCollection 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構