Share via


IntrastatExportWriter_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 to write.
  • _startPos
    Type: int
    The requested starting position of the value on the current line of the writer output.
  • _length
    Type: int
    The number of characters that the file format should allocate for the value that is written.

Remarks

An exception is thrown if the requested _startPos value does not immediately follow the previously written field.

A warning is displayed if the length of the specified string value differs from the requested _length value.

The _value value is padded with spaces on the left or truncated on the right to match the requested _length value.

See Also

Reference

IntrastatExportWriter_IT Class