共用方式為


CborWriter.WriteCborNegativeIntegerRepresentation(UInt64) 方法

定義

重要

此 API 不符合 CLS 規範。

以 CBOR 負整數表示法 (主要類型 1 ) 寫入提供的值。

public:
 void WriteCborNegativeIntegerRepresentation(System::UInt64 value);
[System.CLSCompliant(false)]
public void WriteCborNegativeIntegerRepresentation (ulong value);
[<System.CLSCompliant(false)>]
member this.WriteCborNegativeIntegerRepresentation : uint64 -> unit
Public Sub WriteCborNegativeIntegerRepresentation (value As ULong)

參數

value
UInt64

不帶正負號的整數,表示 -1 減去整數。

屬性

例外狀況

寫入新值,已超過父資料項目的明確長度。

-或-

在父資料項目中,不允許已編碼值的主要類型。

-或-

在目前的一致性模式中不接受寫入的資料。

備註

這個方法支援 -18446744073709551616 與 -1 之間的編碼整數。 適用於處理不符合 型別的值 Int64

適用於