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

定義

取得 ICollection<T>,包含 IDictionary<TKey,TValue> 的索引鍵。

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

屬性值

ICollection<T>,包含實作 IDictionary<TKey,TValue> 之物件的索引鍵。

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableDictionary<TKey,TValue> 執行個體轉換成 IDictionary 介面時,才能使用這個成員。

適用於