Partager via


ReadOnlyDictionary45<TKey,TValue> Classe

Définition

[System.Serializable]
public class ReadOnlyDictionary45<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>>, System.Collections.IDictionary
[<System.Serializable>]
type ReadOnlyDictionary45<'Key, 'Value> = class
    interface IDictionary<'Key, 'Value>
    interface ICollection<KeyValuePair<'Key, 'Value>>
    interface seq<KeyValuePair<'Key, 'Value>>
    interface IEnumerable
    interface IDictionary
    interface ICollection
Public Class ReadOnlyDictionary45(Of TKey, TValue)
Implements ICollection(Of KeyValuePair(Of TKey, TValue)), IDictionary, IDictionary(Of TKey, TValue), IEnumerable(Of KeyValuePair(Of TKey, TValue))

Paramètres de type

TKey
TValue
Héritage
ReadOnlyDictionary45<TKey,TValue>
Attributs
Implémente

Constructeurs

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

Propriétés

Count
Dictionary
Item[TKey]
Keys
Values

Méthodes

ContainsKey(TKey)
GetEnumerator()
TryGetValue(TKey, TValue)

Implémentations d’interfaces explicites

ICollection.CopyTo(Array, Int32)
ICollection.IsSynchronized
ICollection.SyncRoot
ICollection<KeyValuePair<TKey,TValue>>.Add(KeyValuePair<TKey,TValue>)
ICollection<KeyValuePair<TKey,TValue>>.Clear()
ICollection<KeyValuePair<TKey,TValue>>.Contains(KeyValuePair<TKey,TValue>)
ICollection<KeyValuePair<TKey,TValue>>.CopyTo(KeyValuePair<TKey,TValue>[], Int32)
ICollection<KeyValuePair<TKey,TValue>>.IsReadOnly
ICollection<KeyValuePair<TKey,TValue>>.Remove(KeyValuePair<TKey,TValue>)
IDictionary.Add(Object, Object)
IDictionary.Clear()
IDictionary.Contains(Object)
IDictionary.GetEnumerator()
IDictionary.IsFixedSize
IDictionary.IsReadOnly
IDictionary.Item[Object]
IDictionary.Keys
IDictionary.Remove(Object)
IDictionary.Values
IDictionary<TKey,TValue>.Add(TKey, TValue)
IDictionary<TKey,TValue>.Item[TKey]
IDictionary<TKey,TValue>.Keys
IDictionary<TKey,TValue>.Remove(TKey)
IDictionary<TKey,TValue>.Values
IEnumerable.GetEnumerator()

Méthodes d’extension

ToCommaSeparatedString<T>(IEnumerable<T>)

Convertit les éléments d’une collection en chaînes et les concatène en une liste séparée par des virgules, ou retourne null pour les collections null ou vides.

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IReadOnlyDictionary<TKey,TValue>)

S’applique à