AsciiIo.write(Object[]) Method

Definition

Writes values of a simple type.

public:
 override bool write(cli::array <System::Object ^> ^ _values);
[Microsoft.Dynamics.Ax.Xpp.VarArgs]
public override bool write (object[] _values);
[<Microsoft.Dynamics.Ax.Xpp.VarArgs>]
override this.write : obj[] -> bool
Public Overrides Function write (_values As Object()) As Boolean

Parameters

_values
Object[]

One or more values, each of a simple type, separated by a field delimiter. The simple types are string, integer, real, enum, and date.

Returns

true if the write operation succeeds; otherwise, false. If the write operation fails, you can check the status to learn the cause.

Attributes

Remarks

The method accepts a variable number of arguments. Each value that is specified is put into the output record as a field: the first argument as the first field, the second argument as the second field, and so on. Fields are separated by the delimiter that is specified in the outFieldDelimiter method. Records are separated by the delimiter that is specified in the outRecordDelimiter method. To write complete containers, use the writeExp method.

Applies to