Partager via


ListDictionary<TKey,TValue> Class

Definition

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

Type Parameters

TKey
TValue
Inheritance
ListDictionary<TKey,TValue>
Implements

Constructors

ListDictionary<TKey,TValue>()

Properties

Count
Item[TKey]
Keys
Values

Methods

Add(TKey, TValue)
Add(TKey)
Clear()
ContainsKey(TKey)
ContainsValue(TValue)
FindAllValues(Predicate<TValue>)
FindAllValuesByKey(Predicate<TKey>)
Remove(TKey, TValue)
Remove(TKey)
Remove(TValue)

Explicit Interface Implementations

ICollection<KeyValuePair<TKey,List<TValue>>>.Add(KeyValuePair<TKey,List<TValue>>)
ICollection<KeyValuePair<TKey,List<TValue>>>.Contains(KeyValuePair<TKey,List<TValue>>)
ICollection<KeyValuePair<TKey,List<TValue>>>.CopyTo(KeyValuePair<TKey,List<TValue>>[], Int32)
ICollection<KeyValuePair<TKey,List<TValue>>>.IsReadOnly
ICollection<KeyValuePair<TKey,List<TValue>>>.Remove(KeyValuePair<TKey,List<TValue>>)
IDictionary<TKey,List<TValue>>.Add(TKey, List<TValue>)
IDictionary<TKey,List<TValue>>.TryGetValue(TKey, List<TValue>)
IDictionary<TKey,List<TValue>>.Values
IEnumerable.GetEnumerator()
IEnumerable<KeyValuePair<TKey,List<TValue>>>.GetEnumerator()

Applies to