ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Item[TKey] 属性  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取具有指定键的元素。
property TValue System::Collections::Generic::IDictionary<TKey,TValue>::Item[TKey] { TValue get(TKey key); void set(TKey key, TValue value); };TValue System.Collections.Generic.IDictionary<TKey,TValue>.Item[TKey key] { get; set; }member this.System.Collections.Generic.IDictionary<TKey,TValue>.Item('Key) : 'Value with get, set Property Item(key As TKey) As TValue Implements IDictionary(Of TKey, TValue).Item参数
- key
- TKey
要获取或设置的元素的键。
属性值
		TValue
		
	
	具有指定键的元素。
实现
例外
              key 为 null。
检索了属性但没有找到 key。
设置该属性。