StateBag.IDictionary.Item[Object] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
關於此成員的描述,請參見 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 介面時使用。