TextUtilsGetResourceText Method (String, String, CultureInfo) |
Gets the localized text by resource key. If no appropriate text is available,
an exception is thrown.
Namespace: PDTec.IceNet.Sdk.UtilsAssembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic static string GetResourceText(
string componentName,
string resourceKey,
CultureInfo culture
)
Parameters
- componentName
- Type: SystemString
The component name. This value must correspond to a ice.net/texts/text/@component configuration attribute. - resourceKey
- Type: SystemString
The resource key. - culture
- Type: System.GlobalizationCultureInfo
The requested culture.
Return Value
Type:
StringThe localized text.
See Also