ReadOnlyDictionary<TKey,TValue>.Keys 属性

定义

获取包含字典中的键的键集合。

public:
 property System::Collections::ObjectModel::ReadOnlyDictionary<TKey, TValue>::KeyCollection ^ Keys { System::Collections::ObjectModel::ReadOnlyDictionary<TKey, TValue>::KeyCollection ^ get(); };
public System.Collections.ObjectModel.ReadOnlyDictionary<TKey,TValue>.KeyCollection Keys { get; }
member this.Keys : System.Collections.ObjectModel.ReadOnlyDictionary<'Key, 'Value>.KeyCollection
Public ReadOnly Property Keys As ReadOnlyDictionary(Of TKey, TValue).KeyCollection

属性值

包含字典中的键的键集合。

适用于