语言

CoseHeaderMap.GetValueAsString(CoseHeaderLabel) 方法

定义

获取与指定标签关联的值,作为文本字符串。

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。

适用于