CommaIo.write(Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 operation fails, you can check the status to learn the cause of the failure.
- 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 becomes the first field, the second argument becomes the second field, and so on. Fields are separated by the field delimiter that is specified in the outFieldDelimiter method. Records are separated by the delimiter that is specified by using the outRecordDelimiter method. To write complete containers, use the writeExp method.