Share via


CoseHeaderMap.Remove メソッド

定義

オーバーロード

Remove(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>)

特定のオブジェクトが ICollection<T> 内にあるときに、最初に出現したものを削除します。

Remove(CoseHeaderLabel)

指定したキーを持つ要素を IDictionary<TKey,TValue> から削除します。

Remove(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>)

ソース:
CoseHeaderMap.cs
ソース:
CoseHeaderMap.cs
ソース:
CoseHeaderMap.cs
ソース:
CoseHeaderMap.cs

特定のオブジェクトが ICollection<T> 内にあるときに、最初に出現したものを削除します。

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue> item);
public bool Remove (System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel, System.Security.Cryptography.Cose.CoseHeaderValue> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel, System.Security.Cryptography.Cose.CoseHeaderValue> -> bool
Public Function Remove (item As KeyValuePair(Of CoseHeaderLabel, CoseHeaderValue)) As Boolean

パラメーター

item
KeyValuePair<CoseHeaderLabel,CoseHeaderValue>

ICollection<T> から削除するオブジェクト。

戻り値

trueitem から正常に削除された場合は ICollection<T>。それ以外の場合は false。 このメソッドは、false が元の item に見つからない場合にも ICollection<T> を返します。

実装

例外

ヘッダー マップは読み取り専用です。

適用対象

Remove(CoseHeaderLabel)

ソース:
CoseHeaderMap.cs
ソース:
CoseHeaderMap.cs
ソース:
CoseHeaderMap.cs
ソース:
CoseHeaderMap.cs

指定したキーを持つ要素を IDictionary<TKey,TValue> から削除します。

public:
 virtual bool Remove(System::Security::Cryptography::Cose::CoseHeaderLabel label);
public bool Remove (System.Security.Cryptography.Cose.CoseHeaderLabel label);
abstract member Remove : System.Security.Cryptography.Cose.CoseHeaderLabel -> bool
override this.Remove : System.Security.Cryptography.Cose.CoseHeaderLabel -> bool
Public Function Remove (label As CoseHeaderLabel) As Boolean

パラメーター

label
CoseHeaderLabel

削除する要素のラベル。

戻り値

要素が正常に削除された場合は true。それ以外の場合は false。 このメソッドは、元の falsekey が見つからなかった場合にも IDictionary<TKey,TValue> を返します。

実装

例外

ヘッダー マップは読み取り専用です。

適用対象