共用方式為


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

屬性值

索引鍵集合,其中包含此字典的索引鍵。

適用於