Click or drag to resize
ILocalizationServiceGetFileString Method (String, String, Boolean)
Gets the string by the specified resource key from resource file

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 12.0.0
Syntax
C#
string GetFileString(
	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