共用方式為


CborWriter.WriteSimpleValue(CborSimpleValue) 方法

定義

寫入簡單值編碼 (主要類型 7)。

public:
 void WriteSimpleValue(System::Formats::Cbor::CborSimpleValue value);
public void WriteSimpleValue (System.Formats.Cbor.CborSimpleValue value);
member this.WriteSimpleValue : System.Formats.Cbor.CborSimpleValue -> unit
Public Sub WriteSimpleValue (value As CborSimpleValue)

參數

value
CborSimpleValue

要寫入的值。

例外狀況

value 參數位於無效的 24-31 範圍。

寫入新值,已超過父資料項目的明確長度。 -或- 父數據項中不允許編碼值的主要類型。 -或- 目前的一致性模式不接受寫入的數據。

適用於