InStream.Position([BigInteger]) Method
Version: Available or changed with runtime version 11.0.
Get or set the current stream position in seekable streams.
Syntax
[StreamPosition := ] InStream.Position([Length: BigInteger])
Note
This method can be invoked using property access syntax.
Parameters
InStream
Type: InStream
An instance of the InStream data type.
[Optional] Length
Type: BigInteger
The stream position to set between 1 and length.
Return Value
[Optional] StreamPosition
Type: BigInteger
The current stream position or -1 if the stream is not seekable. The actual position will be a positive number from 1 to length.
Remarks
With Business Central 2023 release wave 1, the Position
method allows you to get the position within the current stream. Use the InStream.Length() Method to get the position within the current stream.
See Also
InStream Data Type
Getting Started with AL
Developing Extensions
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈