語言

ReadOnlyDictionary<TKey,TValue>.IDictionary.Keys 屬性

定義

會得到一個包含字典鍵的集合。

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

屬性值

一個包含字典鑰匙的集合。

實作

備註

此成員為明確介面成員實作。 它只能在實 ReadOnlyDictionary<TKey,TValue> 例投射到 IDictionary 介面時使用。

適用於