The SalFileHandle type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close |
Closes a file.
| |
Copy |
Copies the contents of one file (source) to another file (destination).
| |
CreateDirectory |
Creates a directory.
| |
Equals |
Overrides the Object.Equals() method.
(Overrides ValueType..::..Equals(Object).) | |
FromHandle |
Returns the SalFileHandle object from the handle
| |
GetChar()()()() |
Returns the next character in an open file.
| |
GetChar(SalNumber%) |
Returns the next character in an open file.
| |
GetCurrentDirectory |
Gets the full path name of the current working directory.
| |
GetDateTime |
Gets the modification date and time of the specified file.
| |
GetDrive |
Gets the letter of the default (current) disk drive.
| |
GetHashCode |
Overrides the Object.GetHashCode() method
(Overrides ValueType..::..GetHashCode()()()().) | |
GetObjectData | ||
GetString(Int32) |
Returns the next line from an open file.
Lines are terminated by \r\n or \r or \n
| |
GetString(SalString%, Int32) |
Returns the next line from an open file.
Lines are terminated by \r\n or \r or \n
| |
Open |
Opens, re-opens, creates, or deletes a file.
| |
PutChar |
Writes a character to an open file.
| |
PutString |
Writes a string to an open file.
| |
Read(Int32) |
Reads a buffer of characters from an open file to a string .
| |
Read(SalString%, Int32) |
Reads a buffer of characters from an open file to a string .
| |
RemoveDirectory |
Deletes a directory.
| |
Seek |
Positions the file pointer in an open file. The next file operation (such as a read
or write) takes place at this new location.
| |
SetCurrentDirectory |
Changes the current working directory. If the specified path does not contain a drive
letter, the default drive's current directory is changed. Otherwise, the specified
drive's current directory is changed and the specified drive is made the
current drive.
| |
SetDateTime |
Sets the modification date and time of the specified file.
| |
SetDrive |
Sets the current disk drive to the specified drive letter.
| |
Tell |
Returns the current position in an open file.
| |
Write |
Writes a string to an open file.
|