RunBaseReport.caption Method [AX 2012]

Returns the description from the current class.

Syntax

public ClassDescription caption()

Run On

Called

Return Value

Type: ClassDescription Extended Data Type
The description from the current class.

Remarks

To return the description from the current class, call the static description method on the class if there is one.

The method can be overridden to give a more precise description, for example, when some internal variables are necessary to build the description text.

The static RunBase::description method is generally used to retrieve the description of a class. The reason for selecting that method is because you do not have to instantiate the class to call it. Therefore, the description appears in a grid more quickly.

See Also

RunBaseReport Class

RunBase::description Method