Edit

Share via


CoseHeaderMap.Remove Method

Definition

Overloads

Remove(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>)

Removes the first occurrence of a specific object from the ICollection<T>.

Remove(CoseHeaderLabel)

Removes the element with the specified key from the IDictionary<TKey,TValue>.

Remove(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>)

Source:
CoseHeaderMap.cs
Source:
CoseHeaderMap.cs
Source:
CoseHeaderMap.cs
Source:
CoseHeaderMap.cs
Source:
CoseHeaderMap.cs

Removes the first occurrence of a specific object from the 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

Parameters

item
KeyValuePair<CoseHeaderLabel,CoseHeaderValue>

The object to remove from the ICollection<T>.

Returns

true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Implements

Exceptions

The header map is read-only.

Applies to

Remove(CoseHeaderLabel)

Source:
CoseHeaderMap.cs
Source:
CoseHeaderMap.cs
Source:
CoseHeaderMap.cs
Source:
CoseHeaderMap.cs
Source:
CoseHeaderMap.cs

Removes the element with the specified key from the 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

Parameters

label
CoseHeaderLabel

The label of the element to remove.

Returns

true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary<TKey,TValue>.

Implements

Exceptions

The header map is read-only.

Applies to