Compartir a través de


AsciiIo Class

Definition

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

public ref class AsciiIo : Dynamics::AX::Application::CommaIo
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
public class AsciiIo : Dynamics.AX.Application.CommaIo
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
type AsciiIo = class
    inherit CommaIo
Public Class AsciiIo
Inherits CommaIo
Inheritance
Microsoft.Dynamics.AX.KernelInterop.ProxyBase
AsciiIo
Attributes

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 Finance and Operations, such as an .xpo file.

Constructors

AsciiIo()
AsciiIo(IntPtr)
AsciiIo(String, String)

Fields

__k_AsciiIoId
kernelClass (Inherited from XppObjectBase)

Methods

__shouldCallNew(Type)
addXppProxyReference(Type, Object) (Inherited from XppObjectBase)
Call(String, Object[], Type[], Object[]) (Inherited from XppObjectBase)
cancelTimeOut(Int32) (Inherited from XppObjectBase)
createKernelClass(Object[], Type[], Object[]) (Inherited from XppObjectBase)
equal(XppObjectBase) (Inherited from XppObjectBase)
filePosition() (Inherited from CommaIo)
finalize()

Closes the file and then flushes the file buffers to disk.

GetIntPtr() (Inherited from XppObjectBase)
GetKernelInstanceUniqueId() (Inherited from XppObjectBase)
getTimeOutTimerHandle() (Inherited from XppObjectBase)
getXppProxyReference(Type) (Inherited from XppObjectBase)
handle()
inFieldDelimiter()

Sets or retrieves the character that is used as the field delimiter of an input file that is represented by an AsciiIO object.

inFieldDelimiter(String)
inRecordDelimiter()

Sets or retrieves the character that is used as the record delimiter of an input file that is represented by an AsciiIO object.

inRecordDelimiter(String)
inRecordLength()

Sets or retrieves the record length for an input file.

inRecordLength(Int32)
IsManagedValid() (Inherited from XppObjectBase)
kernelhandle()
KernelInstanceDisposed() (Inherited from XppObjectBase)
MakeReflectionCall(String, Object[]) (Inherited from XppObjectBase)
newmethod() (Inherited from XppObjectBase)
newmethod(String, String)

Creates an instance of the AsciiIo class.

notify() (Inherited from XppObjectBase)
notifyAll() (Inherited from XppObjectBase)
objectOnServer()
Obsolete.
(Inherited from XppObjectBase)
outFieldDelimiter()

Sets or retrieves the character that is used as the field delimiter of an output file that is represented by an AsciiIO object.

outFieldDelimiter(String)
outRecordDelimiter()

Sets or retrieves the character that is used as the record delimiter of an output file that is represented by an AsciiIO object.

outRecordDelimiter(String)
read()

Reads the next full record from the Io object.

setTimeOut(String, Int32, Boolean)
Obsolete.
(Inherited from XppObjectBase)
setTimeOut(String, Int32)
Obsolete.
(Inherited from XppObjectBase)
status()

Returns the status of the last operation on the file.

usageCount() (Inherited from XppObjectBase)
VerifyKernelClass() (Inherited from XppObjectBase)
wait() (Inherited from XppObjectBase)
write(Object[])

Writes values of a simple type.

writeChar(Int32)
writeExp(Object[])

Writes the content of a container to a file.

writeRaw(String)
Xml() (Inherited from XppObjectBase)
Xml(Int32) (Inherited from XppObjectBase)

Applies to