In This Topic
Sets the string constant for localization.
Syntax
var instance = new Vintasoft.Shared.VintasoftLocalizationJS();
var value; // Type: any
// Parameters
var id; // Type: string
var value; // Type: string
value = instance.setStringConstant(id, value);
function setStringConstant(
: string,
: string
) : any;
Parameters
- id
- The identifier of string constant.
- value
- The string constant that should be localized.
Exceptions
Exception | Description |
| Thrown if value is not a string or empty string. |
Browser Compatibility
See Also