CoseHeaderMap.Item[CoseHeaderLabel] Właściwość

Definicja

Pobiera lub ustawia element przy użyciu określonego klucza.

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

Parametry

key
CoseHeaderLabel

Klucz elementu do pobrania lub ustawienia.

Wartość właściwości

Element z określonym kluczem.

Implementuje

Wyjątki

Właściwość jest ustawiona i CoseHeaderMap jest tylko do odczytu.

Właściwość jest ustawiana i zakodowane bajty w określonej zawierającej CoseHeaderValue dane końcowe lub więcej niż jedną wartość CBOR.

Właściwość jest pobierana i key nie została znaleziona.

Dotyczy