Share via


ListDictionary<TKey, TValue>.Item Property

Gets or sets the list associated with the given key. The access always succeeds, eventually returning an empty list.

Namespace: Microsoft.Practices.Prism
Assembly: Microsoft.Practices.Prism.Composition (in Microsoft.Practices.Prism.Composition.dll) Version: 5.0.0.0 (5.0.0.0)

Syntax

public IList<TValue> this[
    TKey key
] { get; set; }
'Declaration
Public Default Property Item ( 
    key As TKey
) As IList(Of TValue)
    Get
    Set

Parameters

  • key
    Type: TKey
    The key of the list to access.

Return Value

Type: IList<TValue>
The list associated with the key.

Implements

IDictionary<TKey, TValue>.Item[TKey]

See Also

ListDictionary<TKey, TValue> Class

ListDictionary<TKey, TValue> Members

Microsoft.Practices.Prism Namespace