CborWriter.WriteCborNegativeIntegerRepresentation(UInt64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 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 範圍的數值非常有用。