語言

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

關鍵是元素要取得。

屬性值

該元素指定為 key。

實作

備註

此成員為明確介面成員實作。 它只能在實 StateBag 例投射到 IDictionary 介面時使用。

適用於

另請參閱