Share via


TaxReportDomesticExportWriter_IT.writeString Method [AX 2012]

Write a string value.

Syntax

public void writeString(
    str _value, 
    int _startPos, 
    int _length)

Run On

Called

Parameters

  • _value
    Type: str
    The string value which should be written.
  • _startPos
    Type: int
    Requested starting position of the value in the current line of the writer output.
  • _length
    Type: int
    Number of characters allocated by the file format for the value being written.

Remarks

An exception will be thrown if the requested _startPos does not follow immediately after the previously written field.

A warning will be displayed if the length of the specified string value is different from the requested _length.

The value will padded with spaces (' ') on the left or truncated on the right to match the requested _length.

See Also

Reference

TaxReportDomesticExportWriter_IT Class