CoseHeaderMap.GetValueAsString(CoseHeaderLabel) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與指定標籤相關的值,以文字字串的形式呈現。
public:
System::String ^ GetValueAsString(System::Security::Cryptography::Cose::CoseHeaderLabel label);
public string GetValueAsString(System.Security.Cryptography.Cose.CoseHeaderLabel label);
member this.GetValueAsString : System.Security.Cryptography.Cose.CoseHeaderLabel -> string
Public Function GetValueAsString (label As CoseHeaderLabel) As String
參數
- label
- CoseHeaderLabel
要取得的價值標籤。
傳回
與指定標籤相關的值,以文字字串形式呈現。
例外狀況
該值無法解碼為文字串。
找不到 label。