ILookup<TKey, TElement>::Item Property (TKey)

 

Gets the IEnumerable<T> sequence of values indexed by a specified key.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

property IEnumerable<TElement>^ default[
	TKey key
] {
	IEnumerable<TElement>^ get(TKey key);
}

Parameters

key
Type: TKey

The key of the desired sequence of values.

Property Value

Type: System.Collections.Generic::IEnumerable<TElement>^

The IEnumerable<T> sequence of values indexed by the specified key.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: