Internet Direct (Indy)
Home
PreviousUpNext
TReadFileNonExclusiveStream.Create Constructor

Constructor for the object instance.

Pascal
constructor Create(
    const AFile: String
);
Parameters 
Description 
AFile 
File name used to store the contents read from or written to the file stream. 

Create is the constructor for the object instance. 

AFile is the name of the file on the local file system used to read and write the content for the file stream. TReadFileNonExclusiveStream assumes the file specified in AFile already exists on the local file system. 

Create calls the inhertited constructor using the value in AFile and the following file and sharing mode constants OR'd together: 

 

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.