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.
|
Operators
Name | Description | |
---|---|---|
![]() ![]() | Equality(SalFileHandle, SalFileHandle) |
== operator for comparing two SalFileHandle objects
|
![]() ![]() | Equality(SalFileHandle, SalWindowHandle) |
== operator for comparing a SalFileHandle to a SalWindowHandle
|
![]() ![]() | Equality(SalWindowHandle, SalFileHandle) |
== operator for comparing a SalFileHandle to a SalWindowHandle
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(SalFileHandle to SalWindowHandle) |
Converts a SalFileHandle object into a SalWindowHandle.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(SalWindowHandle to SalFileHandle) |
Converts a SalWindowHandle to a SalFileHandle.
|
![]() ![]() | False |
logical FALSE operator for boolean expressions
|
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(SalFileHandle to Boolean) |
Automatic casting from SalFileHandle to boolean
|
![]() ![]() | Inequality(SalFileHandle, SalFileHandle) |
!= operator for comparing two SalFileHandle objects
|
![]() ![]() | Inequality(SalFileHandle, SalWindowHandle) |
!= operator for comparing a SalFileHandle to a SalWindowHandle
|
![]() ![]() | Inequality(SalWindowHandle, SalFileHandle) |
!= operator for comparing a SalFileHandle to a SalWindowHandle
|
![]() ![]() | LogicalNot |
! boolean NOT operator
|
![]() ![]() | True |
logical TRUE operator for boolean expressions
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | Null |
Properties
Name | Description | |
---|---|---|
![]() | FileStream |
Returns the wrapped FileStream object.
|
![]() | Handle |
Returns the handle for this SalFileHandle object
|
![]() | IsBinary |
Returns true if the file was opened in binary mode.
|
![]() | IsNull |
Checks if this SalFileHandle object contains a null value.
|
![]() | LastError |
Returns the last error code.
|