Skip to main content

IContext.GetResourceString method

Namespace: NextDesign.Desktop

Description

Gets the string for the specified resource key.
Resources will locate and locate resources in the resource files of extensions enabled in this context, with the following priorities:

  1. The execution language of the current application
  2. Japanese resources
  3. Other First Found Language Resources

If the corresponding resource key does not exist, it will not be identified as a resource key and the specified key will be returned as is.
Also, if null or an empty string is specified for the resource key, an empty string will be returned.

argument

NameTypeDescription
keystringresource key

Return value

  • string