Share via


AfDataContainer.set_Item Method [AX 2012]

Sets the value of the specified data item

Syntax

public void set_Item(str _name, anytype _value)

Run On

Called

Parameters

  • _name
    Type: str
    The name of the data item.
  • _value
    Type: anytype
    The value to set.

Remarks

This method enforces the rules that are encoded in the data container descriptor, available via the get_Descriptor method. The data item value must be either a primitive type, a data container, a data container list, or null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

See Also

Reference

AfDataContainer Class