語言

CoseHeaderMap.Remove 方法

定義

從 中移除具有指定鍵的 IDictionary<TKey,TValue>元素。

多載

名稱 Description
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>的物件。

傳回

true 若 item 成功從 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 若false原始 中找不到 label,此方法也會回傳IDictionary<TKey,TValue>。

實作

例外狀況

標頭映射為唯讀。

適用於