CoseHeaderMap.GetValueAsBytes 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| GetValueAsBytes(CoseHeaderLabel, Span<Byte>) | 
						 获取与指定标签关联的值,作为字节字符串。  | 
        	
| GetValueAsBytes(CoseHeaderLabel) | 
						 获取与指定标签关联的值,作为字节字符串。  | 
        	
GetValueAsBytes(CoseHeaderLabel, Span<Byte>)
- Source:
 - CoseHeaderMap.cs
 
- Source:
 - CoseHeaderMap.cs
 
- Source:
 - CoseHeaderMap.cs
 
获取与指定标签关联的值,作为字节字符串。
public:
 int GetValueAsBytes(System::Security::Cryptography::Cose::CoseHeaderLabel label, Span<System::Byte> destination);
	public int GetValueAsBytes(System.Security.Cryptography.Cose.CoseHeaderLabel label, Span<byte> destination);
	member this.GetValueAsBytes : System.Security.Cryptography.Cose.CoseHeaderLabel * Span<byte> -> int
	Public Function GetValueAsBytes (label As CoseHeaderLabel, destination As Span(Of Byte)) As Integer
	参数
- label
 - CoseHeaderLabel
 
要获取的值的标签。
返回
写入到 destination 的字节数。
例外
              destination 太小,无法保存值。
无法将值解码为字节字符串。
              label 未找到。
适用于
GetValueAsBytes(CoseHeaderLabel)
- Source:
 - CoseHeaderMap.cs
 
- Source:
 - CoseHeaderMap.cs
 
- Source:
 - CoseHeaderMap.cs
 
获取与指定标签关联的值,作为字节字符串。
public:
 cli::array <System::Byte> ^ GetValueAsBytes(System::Security::Cryptography::Cose::CoseHeaderLabel label);
	public byte[] GetValueAsBytes(System.Security.Cryptography.Cose.CoseHeaderLabel label);
	member this.GetValueAsBytes : System.Security.Cryptography.Cose.CoseHeaderLabel -> byte[]
	Public Function GetValueAsBytes (label As CoseHeaderLabel) As Byte()
	参数
- label
 - CoseHeaderLabel
 
要获取的值的标签。
返回
与指定标签关联的值,作为字节字符串。
例外
无法将值解码为字节字符串。