Click or drag to resize

TextUtilsGetResourceText Method (String, String, String)

Gets the localized text by resource key. If no appropriate text is available, the default text is returned.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static string GetResourceText(
	string componentName,
	string resourceKey,
	string defaultText
)

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.
defaultText
Type: SystemString
The default text.

Return Value

Type: String
The localized text or the default text.
See Also