Szerkesztés

Megosztás a következőn keresztül:


IReadOnlyDictionary<TKey,TValue>.Keys Property

Definition

Gets an enumerable collection that contains the keys in the read-only dictionary.

public:
 property System::Collections::Generic::IEnumerable<TKey> ^ Keys { System::Collections::Generic::IEnumerable<TKey> ^ get(); };
public System.Collections.Generic.IEnumerable<TKey> Keys { get; }
member this.Keys : seq<'Key>
Public ReadOnly Property Keys As IEnumerable(Of TKey)

Property Value

IEnumerable<TKey>

An enumerable collection that contains the keys in the read-only dictionary.

Remarks

The order of the keys in the enumerable collection is unspecified, but the implementation must guarantee that the keys are in the same order as the corresponding values in the enumerable collection that is returned by the Values property.

Applies to