System.Classes.TReader.Position

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Position: Longint read GetPosition write SetPosition;

C++

__property int Position = {read=GetPosition, write=SetPosition, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TReader

Description

Represents the current reading position in the associated stream.

Position is used to track the reader's position within the stream. The value of Position will always be inside the most recent buffer block read. Thus, for reading, Position will always be less than the stream's Position.

See Also