Compartir a través de


ReadOnlyDictionary<TKey,TValue> Clase

Definición

generic <typename TKey, typename TValue>
public ref class ReadOnlyDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey, TValue>>, System::Collections::Generic::IDictionary<TKey, TValue>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>>
public class ReadOnlyDictionary<TKey,TValue> : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.Generic.IDictionary<TKey,TValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>
type ReadOnlyDictionary<'Key, 'Value> = class
    interface IDictionary<'Key, 'Value>
    interface ICollection<KeyValuePair<'Key, 'Value>>
    interface seq<KeyValuePair<'Key, 'Value>>
    interface IEnumerable
Public Class ReadOnlyDictionary(Of TKey, TValue)
Implements ICollection(Of KeyValuePair(Of TKey, TValue)), IDictionary(Of TKey, TValue), IEnumerable(Of KeyValuePair(Of TKey, TValue))

Parámetros de tipo

TKey
TValue
Herencia
ReadOnlyDictionary<TKey,TValue>
Implementaciones

Constructores

ReadOnlyDictionary<TKey,TValue>(IDictionary<TKey,TValue>)

Propiedades

Count
IsReadOnly
Item[TKey]
Keys
Values

Métodos

Add(KeyValuePair<TKey,TValue>)
Add(TKey, TValue)
Clear()
Contains(KeyValuePair<TKey,TValue>)
ContainsKey(TKey)
CopyTo(KeyValuePair<TKey,TValue>[], Int32)
GetEnumerator()
Remove(KeyValuePair<TKey,TValue>)
Remove(TKey)
TryGetValue(TKey, TValue)

Implementaciones de interfaz explícitas

IEnumerable.GetEnumerator()

Se aplica a