JsonElement.GetByte Metod

Definition

Hämtar det aktuella JSON-numret som en Byte.

public:
 System::Byte GetByte();
public byte GetByte();
member this.GetByte : unit -> byte
Public Function GetByte () As Byte

Returer

Det aktuella JSON-talet som en Byte.

Undantag

Värdet kan inte representeras som en Byte.

Den överordnade JsonDocument har tagits bort.

Kommentarer

Den här metoden parsar inte innehållet i ett JSON-strängvärde.

Gäller för