語言

ILookup<TKey,TElement>.Item[TKey] 屬性

定義

取得 IEnumerable<T> 由指定鍵索引的數值序列。

public:
 property System::Collections::Generic::IEnumerable<TElement> ^ default[TKey] { System::Collections::Generic::IEnumerable<TElement> ^ get(TKey key); };
public System.Collections.Generic.IEnumerable<TElement> this[TKey key] { get; }
member this.Item('Key) : seq<'Element>
Default Public ReadOnly Property Item(key As TKey) As IEnumerable(Of TElement)

參數

key
TKey

這是想要的數值序列的鍵。

屬性值

IEnumerable<TElement>

由 IEnumerable<T> 指定鍵索引的數值序列。

適用於