Share via


CoseHeaderMap.Item[CoseHeaderLabel] Proprietà

Definizione

Ottiene o imposta l'elemento con la chiave specificata.

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

Parametri

key
CoseHeaderLabel

Chiave dell'elemento da ottenere o impostare.

Valore della proprietà

Elemento con la chiave specificata.

Implementazioni

Eccezioni

La proprietà è stata impostata e l'interfaccia CoseHeaderMap è in sola lettura.

La proprietà è impostata e i byte codificati nell'oggetto specificato contengono dati finali CoseHeaderValue o più di un valore CBOR.

La proprietà viene recuperata e key non viene trovato.

Si applica a