共用方式為


ModelItemDictionary.IDictionary.Item 屬性

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

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

語法

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

參數

  • key
    型別:System.Object
    要取得或設定之項目的索引鍵。

屬性值

型別:System.Object
具有指定索引鍵的元素。

實作

IDictionary.Item[Object]

備註

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

.NET Framework 安全性

請參閱

參考

ModelItemDictionary 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構