The SalFileHandle type exposes the following members.

Methods

  NameDescription
Public methodClose
Closes a file.
Public methodStatic memberCopy
Copies the contents of one file (source) to another file (destination).
Public methodStatic memberCreateDirectory
Creates a directory.
Public methodEquals
Overrides the Object.Equals() method.
(Overrides ValueType..::..Equals(Object).)
Public methodStatic memberFromHandle
Returns the SalFileHandle object from the handle
Public methodGetChar()()()()
Returns the next character in an open file.
Public methodGetChar(SalNumber%)
Returns the next character in an open file.
Public methodStatic memberGetCurrentDirectory
Gets the full path name of the current working directory.
Public methodStatic memberGetDateTime
Gets the modification date and time of the specified file.
Public methodStatic memberGetDrive
Gets the letter of the default (current) disk drive.
Public methodGetHashCode
Overrides the Object.GetHashCode() method
(Overrides ValueType..::..GetHashCode()()()().)
Public methodGetObjectData
Public methodGetString(Int32)
Returns the next line from an open file. Lines are terminated by \r\n or \r or \n
Public methodGetString(SalString%, Int32)
Returns the next line from an open file. Lines are terminated by \r\n or \r or \n
Public methodOpen
Opens, re-opens, creates, or deletes a file.
Public methodPutChar
Writes a character to an open file.
Public methodPutString
Writes a string to an open file.
Public methodRead(Int32)
Reads a buffer of characters from an open file to a string .
Public methodRead(SalString%, Int32)
Reads a buffer of characters from an open file to a string .
Public methodStatic memberRemoveDirectory
Deletes a directory.
Public methodSeek
Positions the file pointer in an open file. The next file operation (such as a read or write) takes place at this new location.
Public methodStatic memberSetCurrentDirectory
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.
Public methodStatic memberSetDateTime
Sets the modification date and time of the specified file.
Public methodStatic memberSetDrive
Sets the current disk drive to the specified drive letter.
Public methodTell
Returns the current position in an open file.
Public methodWrite
Writes a string to an open file.

See Also