TryGetValue

public bool TryGetValue<T>(out T value) ;

指定した型での値の取得を試みる。

型パラメーター名 説明 型制約
T 取得する値の型
パラメーター名 説明
value 値の出力引数

値の取得に成功した場合にtrueを返す。