Global::strFmtByLanguage Method [AX 2012]

Formats the string using the specified language ID.

client server public static str strFmtByLanguage(
    LanguageId _languageId, 
    str _format, 
    anytype _value0, 
   [anytype _value1, 
    anytype _value2])

Run On

Called

Parameters

_languageId
Type: LanguageId Extended Data Type
The languege ID to be used as a culture for formatting the string.
_format
Type: str
The format string. Contains the placeholders for the values to be used in the formatted string. The placeholders are in .NET format.
_value0
Type: anytype
The value for the first placeholder in the format string.
_value1
Type: anytype
The value for the second placeholder in the format string.
_value2
Type: anytype
The value for the third placeholder in the format string.

Return Value

Type: str
The formatted string.

The format string should follow the .NET syntax.

Show: