AxdBase.getLabel Method [AX 2012]

Returns the label that corresponds to the localized document name.

Syntax

public abstract LabelString getLabel()

Run On

Server

Return Value

Type: LabelString Extended Data Type
The label that corresponds to the localized document name.

Remarks

The getLabel method is abstract on the AxdBase class, and must be implemented by all derived classes. For example, AxdSalesOrder.getLabel Method.

Examples

The following example shows how to get the label for AxdSalesOrder.

    AxdBase     axdBase =  
  AxdBase::newClassId(classNum(AxdSalesOrder)); 
    LabelString salesOrderLabel; 
 
    salesOrderLabel = axdBase.getLabel();

See Also

AxdBase Class

AxdSalesOrder Class