IKeyValuePair<K,V>.Key Property

Definition

Gets the key of the key-value pair.

public:
 property K Key { K get(); };
K Key();
public K Key { get; }
Public ReadOnly Property Key As K

Property Value

K

The key.

Remarks

When programming with .NET, this interface is hidden and developers should use the System.Collections.Generic.KeyValuePair<TKey,TValue> structure.

Applies to

See also