Click or drag to resize
FileResourceEditorSetResourceString Method
Sets/updates default resource string.

Namespace: CMS.Localization
Assembly: CMS.Localization (in CMS.Localization.dll) Version: 9.0.0
Syntax
C#
public void SetResourceString(
	string key,
	string value,
	string culture,
	bool dontSave = false
)

Parameters

key
Type: SystemString
Resource string key
value
Type: SystemString
Resource string value
culture
Type: SystemString
Culture
dontSave (Optional)
Type: SystemBoolean
True if file shouldn't be saved after update. False by default.
See Also