Share via


AxdXmlWriter.writeProperty Method [AX 2012]

Writes a property to the XML stream.

Syntax

public void writeProperty(
    str _elementName, 
    anytype _value, 
    Types _type, 
   [int _noDecimals, 
    boolean _writeIntegerAsTime, 
    EnumId _enumId, 
    str _namespace])

Run On

Called

Parameters

  • _elementName
    Type: str
    The name of the field which becomes the element name in the XML.
  • _value
    Type: anytype
    The value to be written.
  • _noDecimals
    Type: int
    The number of decimals to be written if the _type parameter is Real. This parameter is ignored when the _type parameter is not Real. Defaults to two if this parameter is not supplied and the _type parameter is Real; optional.
  • _writeIntegerAsTime
    Type: boolean
  • _namespace
    Type: str

See Also

Reference

AxdXmlWriter Class