Jaa


CommaTextIo.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[]

A value of a simple type. The simple types are string, integer, real, enum, and date.

Returns

true if the write operation is successful; otherwise, false. If the write operation fails, you can use the status method to determine 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 is the first field, the second argument is 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