Io Class

Definition

The Io class serves as the base class for the format-specific Io classes, which are used to access external files.

public ref class Io : Microsoft::Dynamics::Ax::Xpp::XppObjectBase
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public class Io : Microsoft.Dynamics.Ax.Xpp.XppObjectBase
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
type Io = class
    inherit XppObjectBase
Public Class Io
Inherits XppObjectBase
Inheritance
Microsoft.Dynamics.AX.KernelInterop.ProxyBase
Io
Derived
Attributes
KernelClassAttribute Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Remarks

The basic Io class features no actual data I/O but works as base class for the format-specific Io classes. The methods that are common to all Io classes are described here. For format-specific features and behavior of the member functions, refer to the documentation for each of the I/O classes. To support reading and writing of different formats of external files, MorphX features a range of different Io classes for comma-separated files, for comma-separated 7 bit files, for binary files, and for plain-text files.

Constructors

Io()
Io(IntPtr)
Io(String, String)

Fields

__k_IoId
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)
finalize()

Closes the file and, if data was written, 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()

Determines the delimiter used to separate fields in records accessed by the *Io classes.

inFieldDelimiter(String)
inRecordDelimiter()

Determines to the *Io classes what character or characters to search for to determine whether a full record has been read.

inRecordDelimiter(String)
inRecordLength()

Gets or sets the number of characters to read for each record in a 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 a new instance of the Io class.

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

Gets or sets the sequence of characters that are written to a file that is used to separate the fields of a record.

outFieldDelimiter(String)
outRecordDelimiter()

Gets or sets the sequence of characters that is written to the output files, which separate the records in the output files.

outRecordDelimiter(String)
read()

Reads the next full record from the Io object.

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

Retrieves the status of the last operation performed on the Io object.

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

Writes values of a simple type.

writeExp(Object[])

Writes the content of a container to the file.

Xml() (Inherited from XppObjectBase)
Xml(Int32) (Inherited from XppObjectBase)

Applies to