Returns a resource text (string) for the specified resource key and language.

Syntax

XIH.GetResourceText(key, language)

Parameters

Parameter

Data type

Description

Sample

key

string

String specifies the resource text's key.

"key1"

language

string

String specifies the language with the CultureInfoName.

"en-GB"

Remarks

Returns a string.

Examples

XIH.GetResourceText("hours", "de-AT")

Related