語言

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

屬性值

一個包含字典鍵的鍵集合。

適用於