The Description attribute can be used to query the stored multilingual naming of a variable.
Syntax | ||||
Description([LanguageID]) | ||||
Return value | ||||
String | ||||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Optional |
LanguageID |
String |
ByVal |
Language ID of the value |
Example:
A variable has been created named Color and the following attributes:
After performing the following code:
Dim Result As String
Result := Color.Description
…the variable Result gets the value ‘Color’, if the current dialog language is set to DE, or gets the value ‘Color’, if the current dialog language is set to EN.
Result := Color.Description("EN")
…the variable Result gets always the value ‘Color’.
Remark
The current dialog language will be changed by Server.DialogLanguage.
The attribute is read only.