JsonElement.GetUInt16 Metodo

Definizione

Importante

Questa API non è conforme a CLS.

Ottiene il numero JSON corrente come .UInt16

public:
 System::UInt16 GetUInt16();
[System.CLSCompliant(false)]
public ushort GetUInt16();
[<System.CLSCompliant(false)>]
member this.GetUInt16 : unit -> uint16
Public Function GetUInt16 () As UShort

Valori restituiti

Numero JSON corrente come .UInt16

Attributi

Eccezioni

Il valore non può essere rappresentato come .UInt16

L'elemento padre JsonDocument è stato eliminato.

Commenti

Questo metodo non analizza il contenuto di un valore stringa JSON.

Si applica a