編集

Share via


JsonElement.GetSByte Method

Definition

Important

This API is not CLS-compliant.

Gets the current JSON number as an SByte.

public:
 System::SByte GetSByte();
[System.CLSCompliant(false)]
public sbyte GetSByte ();
[<System.CLSCompliant(false)>]
member this.GetSByte : unit -> sbyte
Public Function GetSByte () As SByte

Returns

The current JSON number as an SByte.

Attributes

Exceptions

The value cannot be represented as an SByte.

The parent JsonDocument has been disposed.

Applies to