ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Item[TKey] Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtém o elemento que tem a chave especificada.
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
Parâmetros
- key
- TKey
A chave do elemento para obter ou definir.
Valor de Propriedade
O elemento que tem a chave especificada.
Implementações
Exceções
key é null.
A propriedade é recuperada e key não é encontrada.
A propriedade está definida.