Share via


AsciiIo Class

The AsciiIo class provides functionality for reading and writing ASCII files.

Syntax

class AsciiIo extends CommaIo

Run On

Called

Methods

  Method Description
Gg802691.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif filePosition (Inherited from CommaIo.)
Gg802691.pubmethod(en-us,AX.60).gif finalize Closes the file and then flushes the file buffers to disk. (Overrides the finalize Method.)
Gg802691.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif inFieldDelimiter Sets or retrieves the character that is used as the field delimiter of an input file that is represented by an AsciiIO object. (Overrides the inFieldDelimiter Method.)
Gg802691.pubmethod(en-us,AX.60).gif inRecordDelimiter Sets or retrieves the character that is used as the record delimiter of an input file that is represented by an AsciiIO object. (Overrides the inRecordDelimiter Method.)
Gg802691.pubmethod(en-us,AX.60).gif inRecordLength Sets or retrieves the record length for an input file. (Overrides the inRecordLength Method.)
Gg802691.pubmethod(en-us,AX.60).gif new Creates an instance of the AsciiIo class. (Overrides the new Method.)
Gg802691.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif outFieldDelimiter Sets or retrieves the character that is used as the field delimiter of an output file that is represented by an AsciiIO object. (Overrides the outFieldDelimiter Method.)
Gg802691.pubmethod(en-us,AX.60).gif outRecordDelimiter Sets or retrieves the character that is used as the record delimiter of an output file that is represented by an AsciiIO object. (Overrides the outRecordDelimiter Method.)
Gg802691.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif read Reads the next full record from the Io object. (Overrides the read Method.)
Gg802691.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif status Returns the status of the last operation on the file. (Overrides the status Method.)
Gg802691.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg802691.pubmethod(en-us,AX.60).gif write Writes values of a simple type. (Overrides the write Method.)
Gg802691.pubmethod(en-us,AX.60).gif writeChar
Gg802691.pubmethod(en-us,AX.60).gif writeExp Writes the content of a container to a file. (Overrides the writeExp Method.)
Gg802691.pubmethod(en-us,AX.60).gif writeRaw
Gg802691.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

The TextIo class provides functionality for reading and writing files that use various code pages. The AsciiIO class supports only ANSI code page (ACP) characters.

Existing code that uses the AsciiIO class must be converted to use the TextIO class if the file contains non-ACP characters, or if it is a file that is used only in Microsoft Dynamics AX, such as an .xpo file.

Inheritance Hierarchy

Object Class
  Io Class
    CommaIo Class
      AsciiIo Class

See Also

CommaIo Class