Share via


AxdXmlWriter.writeArrayElement Method [AX 2012]

Writes an array element to the XML stream.

Syntax

public void writeArrayElement(
    anytype _value, 
    Types _type, 
   [int _noDecimals, 
    boolean _writeIntegerAsTime, 
    EnumId _enumId])

Run On

Called

Parameters

  • _value
    Type: anytype
    The array element to write.
  • _type
    Type: Types Enumeration
    The type of _value. Supplied if the value should be written as another type; for example, if an integer should be formatted as a real. Defaults to the type of _value; optional.
  • _noDecimals
    Type: int
    The number of decimals to write when the _value is of type real. Defaults to 2; optional.
  • _writeIntegerAsTime
    Type: boolean

See Also

Reference

AxdXmlWriter Class