Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Property

Key

val Key: K { init; }

Declaring type: KeyValuePair<K, V>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: KeyValuePair.rvn

Gets or initializes the key.

Property value

K

Remarks

Assignment is permitted during object initialization; ordinary later assignment is rejected.