Muokkaa

Jaa


CoseHeaderMap.Item[CoseHeaderLabel] Property

Definition

Gets or sets the element with the specified key.

public:
 property System::Security::Cryptography::Cose::CoseHeaderValue default[System::Security::Cryptography::Cose::CoseHeaderLabel] { System::Security::Cryptography::Cose::CoseHeaderValue get(System::Security::Cryptography::Cose::CoseHeaderLabel key); void set(System::Security::Cryptography::Cose::CoseHeaderLabel key, System::Security::Cryptography::Cose::CoseHeaderValue value); };
public System.Security.Cryptography.Cose.CoseHeaderValue this[System.Security.Cryptography.Cose.CoseHeaderLabel key] { get; set; }
member this.Item(System.Security.Cryptography.Cose.CoseHeaderLabel) : System.Security.Cryptography.Cose.CoseHeaderValue with get, set
Default Public Property Item(key As CoseHeaderLabel) As CoseHeaderValue

Parameters

key
CoseHeaderLabel

The key of the element to get or set.

Property Value

The element with the specified key.

Implements

Exceptions

The property is set and the CoseHeaderMap is read-only.

The property is set and the encoded bytes in the specified CoseHeaderValue contain trailing data or more than one CBOR value.

The property is retrieved and key is not found.

Applies to