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 。