Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

MultiDictionary<(Of <(<'TKey, TValue>)>)> Class

The MultiDictionary class that associates values with a key. Unlike an Dictionary, each key can have multiple values associated with it. When indexing an MultiDictionary, instead of a single value associated with a key, you retrieve an enumeration of values.

When constructed, you can chose to allow the same value to be associated with a key multiple times, or only one time.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


[SerializableAttribute]
public class MultiDictionary<TKey, TValue> : MultiDictionaryBase<TKey, TValue>
<SerializableAttribute> _
Public Class MultiDictionary(Of TKey, TValue) _
	Inherits MultiDictionaryBase(Of TKey, TValue)
[SerializableAttribute]
generic<typename TKey, typename TValue>
public ref class MultiDictionary : public MultiDictionaryBase<TKey, TValue>

Type Parameters

TKey
The type of the keys.
TValue
The of values associated with the keys.

Inheritance Hierarchy


Object
  Wintellect.PowerCollections..::..CollectionBase<(Of <(<'KeyValuePair<(Of <(<'TKey, ICollection<(Of <(<'TValue>)>)>>)>)>>)>)>
    Wintellect.PowerCollections..::..MultiDictionaryBase<(Of <(<'TKey, TValue>)>)>
      Wintellect.PowerCollections..::..MultiDictionary<(Of <(<'TKey, TValue>)>)>