Click or drag to resize
ILocalizationServiceGetString Method
Gets the string by the specified resource key

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 13.0.131
Syntax
C#
string GetString(
	string resourceKey,
	string culture = null,
	bool useDefaultCulture = true
)

Parameters

resourceKey
Type: SystemString
Resource key
culture (Optional)
Type: SystemString
Culture
useDefaultCulture (Optional)
Type: SystemBoolean
If true the default culture translation is used if translation in chosen culture doesn't exist

Return Value

Type: String
See Also