System.CaptionClassTranslate(Text) Method

Version: Available or changed with runtime version 1.0.

Returns a translated version of the caption string. The string is translated to the current local language.

Syntax

String :=   System.CaptionClassTranslate(CaptionClassText: Text)

Note

This method can be invoked without specifying the data type name.

Parameters

CaptionClassText
 Type: Text
A literal string that defines the caption.

Return Value

String
 Type: Text

Remarks

You can use the SelectLatestVersion Method (Database) to clear the current session's cache for the CaptionClassTranslate strings. The strings will then be reevaluated by the CaptionClassTranslate method trigger in codeunit 42.

See Also

System Data Type
Get Started with AL
Developing Extensions