Partilhar via


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

The simple type. The simple types are string, integer, real, enum, and date.

Returns

true if the write operation succeeds; otherwise, false. If the write operation is unsuccessful, you can check the status method for the cause.

Attributes

Remarks

This 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. The fields are separated by the field delimiter that is specified in the outFieldDelimiter method. Each record is separated by the record delimiter that is specified in the outRecordDelimiter method. To write complete containers, use the writeExp method.

Applies to