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
指定之索引處的項目。
實作
備註
這個成員是明確介面成員實作。 只有在 ModelItemCollection 執行個體轉換成 IList 介面時,才能使用這個成員。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Model 命名空間