TFileStream.FileName

The filename of the stream.

Declaration

Source position: classesh.inc line 1188

public Property
  FileName : string;

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

Name Description
TFileStream.Create Creates a file stream.