InStream.Length() Method
Version: Available or changed with runtime version 11.0.
Gets the stream length.
Syntax
StreamLength := InStream.Length()
Note
This method can be invoked using property access syntax.
Parameters
InStream
Type: InStream
An instance of the InStream data type.
Return Value
StreamLength
Type: BigInteger
The stream length or -1 if the length cannot be determined.
Remarks
With Business Central 2023 release wave 1, the Length
method allows you to get the length in bytes of the stream. Use InStream.Position([BigInteger]) Method to get the position within the current stream.
See Also
InStream Data Type
Getting 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