JsonElement.GetInt32 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.
Obtient le numéro JSON actuel sous la forme d’un Int32.
public:
int GetInt32();
public int GetInt32();
member this.GetInt32 : unit -> int
Public Function GetInt32 () As Integer
Retours
Numéro JSON actuel en tant que Int32.
Exceptions
La valeur ne peut pas être représentée en tant que Int32.
Le parent JsonDocument a été supprimé.