StateBag.IDictionary.Item[Object] 屬性

定義

如需這個成員的說明,請參閱 Item[Object]

property System::Object ^ System::Collections::IDictionary::Item[System::Object ^] { System::Object ^ get(System::Object ^ key); void set(System::Object ^ key, System::Object ^ value); };
object System.Collections.IDictionary.Item[object key] { get; set; }
member this.System.Collections.IDictionary.Item(obj) : obj with get, set
 Property Item(key As Object) As Object Implements IDictionary.Item

參數

key
Object

要取得的項目索引鍵。

屬性值

Object

具有指定之 key 的項目。

實作

備註

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

適用於

另請參閱