Edit

Share via


ReadOnlyDictionary<TKey,TValue>.IDictionary.Keys Property

Definition

Gets a collection that contains the keys of the dictionary.

C#
System.Collections.ICollection System.Collections.IDictionary.Keys { get; }

Property Value

A collection that contains the keys of the dictionary.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ReadOnlyDictionary<TKey,TValue> instance is cast to an IDictionary interface.

Applies to