Sign in Join
FPDoc Onlineexperiment

TFileStream.FileName property

Member of TFileStreampublicIn unit Classes

The filename of the stream.

Declaration

pascal
property FileName: string read FFilename;

Description

FileName is the name of the file that the stream reads from or writes to. It is the name as passed in the constructor of the stream; it cannot be changed. To write to another file, the stream must be freed and created again with the new filename.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.