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

API Browser

Constructor

.ctor

init(Key: K, Value: V) -> void

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

A key and value transported together as a deconstructable value.

Parameters

Name Type Description
Key K The key.
Value V The associated value.

Remarks

Native development supports construction, copying, getters, initialization-only accessors and deconstruction. Generated equality and hashing use the declared key and value types, including canonical text equality. Unsupported component Object contracts may fault; generic formatting remains unavailable.