Utf8JsonReader.TryGetUInt64(UInt64) 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.
Tente d’analyser la valeur de jeton JSON actuelle de la source en tant que UInt64 valeur et retourne une valeur qui indique si l’opération a réussi.
public:
bool TryGetUInt64([Runtime::InteropServices::Out] System::UInt64 % value);
[System.CLSCompliant(false)]
public bool TryGetUInt64(out ulong value);
[<System.CLSCompliant(false)>]
member this.TryGetUInt64 : uint64 -> bool
Public Function TryGetUInt64 (ByRef value As ULong) As Boolean
Paramètres
- value
- UInt64
Lorsque cette méthode est retournée, contient une valeur entière 64 bits non signée équivalente au nombre JSON actuel si la conversion a réussi ou 0 si la conversion a échoué.
Retours
true si la valeur de jeton encodée UTF-8 entière peut être analysée avec succès sur une UInt64 valeur ; sinon, false.
- Attributs
Exceptions
La valeur du jeton JSON n’est pas un Number.