IContext.GetResourceString1 method

Namespace: NextDesign.Desktop

Description

Gets the string of the specified resource key. At this time, the substitute "{0}" defined in the resource string is replaced with the string representation of param1 specified by the argument and returned. Note that the resource parameter replacement complies with C# String.Format. For details on how to specify the resource string and specify the resource key, refer to GetResourceString().

argument

Name Type Description
key string resource key
param1 object Replacement object of resource parameter
Object to replace with the substitute "{0}" in the resource string
If null is specified, it is replaced with the string "null".

Return value

  • string