CoseHeaderMap.TryGetValue(CoseHeaderLabel, CoseHeaderValue) メソッド

定義

指定したキーに関連付けられている値を取得します。

public:
 virtual bool TryGetValue(System::Security::Cryptography::Cose::CoseHeaderLabel key, [Runtime::InteropServices::Out] System::Security::Cryptography::Cose::CoseHeaderValue % value);
public bool TryGetValue(System.Security.Cryptography.Cose.CoseHeaderLabel key, out System.Security.Cryptography.Cose.CoseHeaderValue value);
abstract member TryGetValue : System.Security.Cryptography.Cose.CoseHeaderLabel * CoseHeaderValue -> bool
override this.TryGetValue : System.Security.Cryptography.Cose.CoseHeaderLabel * CoseHeaderValue -> bool
Public Function TryGetValue (key As CoseHeaderLabel, ByRef value As CoseHeaderValue) As Boolean

パラメーター

key
CoseHeaderLabel

取得する値を持つキー。

value
CoseHeaderValue

このメソッドから制御が戻るときに、指定したキーに関連付けられている値が格納されます (キーが見つかった場合)。それ以外の場合は、 value パラメーターの型の既定値。 このパラメーターは初期化せずに渡されます。

返品

true IDictionary<TKey,TValue>を実装するオブジェクトに、指定したキーを持つ要素が含まれている場合は。それ以外の場合はfalse

適用対象