JsonValue.AsByte() Method
Version: Available or changed with runtime version 1.0.
Converts the value in a JsonValue to a Byte data type.
Syntax
Result := JsonValue.AsByte()
Parameters
JsonValue
Type: JsonValue
An instance of the JsonValue data type.
Return Value
Result
Type: Byte
If the JsonValue does not contain a number which can be converted without loss of precision to a Byte, the operation will fail with a run-time error.
See Also
JsonValue Data Type
Get Started with AL
Developing Extensions
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour