JsonElement.GetUInt16 Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Important
Cette API n’est pas conforme CLS.
Obtient le numéro JSON actuel en tant que UInt16.
public:
System::UInt16 GetUInt16();
[System.CLSCompliant(false)]
public ushort GetUInt16();
[<System.CLSCompliant(false)>]
member this.GetUInt16 : unit -> uint16
Public Function GetUInt16 () As UShort
Retours
Numéro JSON actuel en tant que UInt16.
- Attributs
Exceptions
La valeur ne peut pas être représentée en tant que UInt16.
Le parent JsonDocument a été supprimé.
Remarques
Cette méthode n’analyse pas le contenu d’une valeur de chaîne JSON.