Share via


SysObsoleteAttribute.new Method [AX 2012]

Initializes an instance of the SysObsoleteAttribute class.

Syntax

public void new([str _explanation, boolean _isError])

Run On

Called

Parameters

  • _explanation
    Type: str
    A string that describes the recommended alternative item that you can use instead of the item that is marked with this attribute; optional.
  • _isError
    Type: boolean
    A Boolean value that indicates whether the compiler should display an error or a warning; optional.

See Also

Reference

SysObsoleteAttribute Class