Table of Contents

TOrderedDictionary<K, V>.ExtractPair Method

Removes and returns the key-value pair for the specified key without triggering ownership notifications.

Syntax

Unit: Bcl.Collections

function TOrderedDictionary<K, V>.ExtractPair(const key: K): TPairKV;

Parameters

<-> Parameter Type Description
const key K The key of the pair to extract.

Returns

The extracted key-value pair. If the key is not found, returns a pair with the default value.

See also