IContext.GetResourceString2 method
Namespace: NextDesign.Desktop
Description
Gets the string for the specified resource key.
At this time, the substitutes "0,1" defined in the resource string are replaced with the string representations of param1 and param2 respectively specified by the arguments 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
Name | Type | Description |
---|---|---|
key | string | resource key |
param1 | object | Replacement 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". |
param2 | object | Replacement object for resource parameters Object to be replaced with the substitute child "1" in the resource string If null is specified, it will be replaced with the string "null". |
Return value
- string