Share via


ListDictionary Generic Class

A dictionary of lists.

Namespace: Microsoft.Practices.CompositeUI.Utility
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
<DefaultMemberAttribute("Item")> _
Public Class ListDictionary(Of TKey, TValue)
    Implements IDictionary(Of TKey, List(Of TValue)), ICollection(Of KeyValuePair(Of TKey, List(Of TValue))), _
    IEnumerable(Of KeyValuePair(Of TKey, List(Of TValue))), IEnumerable
'Usage
Dim instance As ListDictionary(Of TKey, TValue)
[DefaultMemberAttribute("Item")] 
public class ListDictionary<TKey,TValue> : IDictionary<TKey,List<TValue>>, ICollection<KeyValuePair<TKey,List<TValue>>>, 
    IEnumerable<KeyValuePair<TKey,List<TValue>>>, IEnumerable
[DefaultMemberAttribute(L"Item")] 
generic<typename TKey, typename TValue>
public ref class ListDictionary : IDictionary<TKey, List<TValue>^>, ICollection<KeyValuePair<TKey, List<TValue>^>>, 
    IEnumerable<KeyValuePair<TKey, List<TValue>^>>, IEnumerable
J# supports the use of generic types and methods, but not the declaration of new ones.
JScript does not support generic types and methods.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.CompositeUI.Utility.ListDictionary

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ListDictionary Members
Microsoft.Practices.CompositeUI.Utility Namespace