Bojensen Blogs

Performing File IO with the TextIo Class [AX 2012]

The following X++ job code sample creates a file and writes to it. Next the code reads from the file, and prints every record to the Infolog.

The use of the FileIOPermission class is also illustrated. FileIoPermission is used to assert that the current method has the authority to call another method that checks for such authority.

For more information, see Code Access Security.

For more information on CodePages see CodePage Identifiers on MSDN

X++

Performing File IO with the TextIo Class [AX 2012]

Comments are closed.