Skip to main content

IContext.GetResourceString1 method

Namespace: NextDesign.Desktop

Description

Gets the string for the specified resource key.
At this time, the substitute child "0" defined in the resource string is replaced with the string representation of param1 specified by the argument and returned.
Note that replacement of resource parameters conforms to C#'s String.Format.
Also, refer to GetResourceString() for details on how to identify the resource string and how to specify the resource key.

argument

NameTypeDescription
keystringresource key
param1objectReplacement object for resource parameters
Object to be replaced with the substitute child "0" in the resource string
If null is specified, it will be replaced with the string "null".

Return value

  • string