ReadOnlyDictionary<TKey,TValue>.IDictionary.Values ReadOnlyDictionary<TKey,TValue>.IDictionary.Values ReadOnlyDictionary<TKey,TValue>.IDictionary.Values Property

定義

取得集合,其中包含字典中的所有值。Gets a collection that contains the values in the dictionary.

property System::Collections::ICollection ^ System::Collections::IDictionary::Values { System::Collections::ICollection ^ get(); };
System.Collections.ICollection System.Collections.IDictionary.Values { get; }
 ReadOnly Property Values As ICollection Implements IDictionary.Values

屬性值

集合,包含字典中的值。A collection that contains the values in the dictionary.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ReadOnlyDictionary<TKey,TValue> 執行個體轉換成 IDictionary 介面時,才能使用這個成員。It can be used only when the ReadOnlyDictionary<TKey,TValue> instance is cast to an IDictionary interface.

適用於