Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetKeyValue(out TKey, out TValue)

Gets the key and the value.
Read time 1 minuteLast updated 12 days ago

Definition

GetKeyValue(T, T)

public bool GetKeyValue(out TKey key, out TValue value)

Parameters

key

T
Outputs the key. If this KeyValue is Null, outputs the default of TKey.

value

T
Outputs the value. If this KeyValue is Null, outputs the default of TValue.

Returns

Type

Description

boolTrue if the key-value pair is valid.