System.Generics.Collections.TDictionary.ExtractPair

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function ExtractPair(const Key: K): TPair<K,V>;

C++

TPair__2<K,V> __fastcall ExtractPair(const K Key);

プロパティ

種類 可視性 ソース ユニット
function public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TDictionary


説明

指定された KeyTPair<TKey,TValue> ペアを返し、辞書から返されたペアを削除します。

辞書に指定された Key がない場合、返されるペアにはデフォルトの TValue が入っています。

関連項目