CoseHeaderMap.Item[CoseHeaderLabel] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.